Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.452/1.452, allocations: 252 MB / 267.3 MB, free: 10.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 172.8 kB / 327 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.876/1.876, allocations: 205.4 MB / 0.578 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007868/0.0007867, allocations: 81.2 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003407, allocations: 11.78 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2735, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.7786/1.052, allocations: 190.5 MB / 1.087 GB, free: 1.621 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02156/1.074, allocations: 14.28 MB / 1.101 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/1.076, allocations: 27.31 kB / 1.101 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001674/1.078, allocations: 416.6 kB / 1.101 GB, free: 1.328 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005877/1.083, allocations: 1.788 MB / 1.103 GB, free: 1.23 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00289/1.086, allocations: 0.784 MB / 1.104 GB, free: 1.207 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005037/1.091, allocations: 3.662 MB / 1.107 GB, free: 1.207 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/1.093, allocations: 0.9116 MB / 1.108 GB, free: 1.047 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005059/1.098, allocations: 1.349 MB / 1.11 GB, free: 1.023 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003241/1.102, allocations: 0.9321 MB / 1.111 GB, free: 1.02 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003282/1.102, allocations: 46.91 kB / 1.111 GB, free: 1.02 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003785/1.106, allocations: 1.246 MB / 1.112 GB, free: 1.008 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007718/1.107, allocations: 454.9 kB / 1.112 GB, free: 1 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/1.108, allocations: 0.5827 MB / 1.113 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003656/1.111, allocations: 1.919 MB / 1.115 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/1.111, allocations: 0 / 1.115 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.428e-06/1.111, allocations: 0 / 1.115 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.293e-05/1.111, allocations: 1.859 kB / 1.115 GB, free: 0.8516 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002518/1.114, allocations: 1.229 MB / 1.116 GB, free: 16.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/1.114, allocations: 9.188 kB / 1.116 GB, free: 16.11 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/1.114, allocations: 150.2 kB / 1.116 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/1.116, allocations: 254.5 kB / 1.116 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/1.117, allocations: 0.8363 MB / 1.117 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/1.117, allocations: 68.78 kB / 1.117 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/1.118, allocations: 95.94 kB / 1.117 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/1.12, allocations: 1.185 MB / 1.118 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/1.12, allocations: 2.906 kB / 1.118 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.055e-05/1.12, allocations: 37.38 kB / 1.118 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-05/1.12, allocations: 37.19 kB / 1.118 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/1.121, allocations: 0.9097 MB / 1.119 GB, free: 15.43 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007049/1.128, allocations: 5.742 MB / 1.125 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008293/1.129, allocations: 0.5271 MB / 1.125 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/1.13, allocations: 333.3 kB / 1.126 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007085/1.13, allocations: 325.2 kB / 1.126 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/1.13, allocations: 46.72 kB / 1.126 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=51): time 3.317e-06/1.131, allocations: 0 / 1.126 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=51): time 0.001787/1.132, allocations: 0.8167 MB / 1.127 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/1.132, allocations: 83.02 kB / 1.127 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/1.134, allocations: 0.7414 MB / 1.128 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.044e-05/1.134, allocations: 40.36 kB / 1.128 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005045/1.134, allocations: 0.5014 MB / 1.128 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/1.134, allocations: 185.8 kB / 1.128 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/1.134, allocations: 14.28 kB / 1.128 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002169/1.135, allocations: 388.8 kB / 1.129 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/1.135, allocations: 251.6 kB / 1.129 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006565/1.136, allocations: 0.5619 MB / 1.13 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/1.137, allocations: 0.811 MB / 1.13 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.137, allocations: 2.938 kB / 1.13 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001857/1.139, allocations: 0.8498 MB / 1.131 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/1.139, allocations: 7.875 kB / 1.131 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/1.139, allocations: 7.719 kB / 1.131 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.441e-05/1.139, allocations: 15.47 kB / 1.131 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008587/1.14, allocations: 163.7 kB / 1.131 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-05/1.14, allocations: 14 kB / 1.131 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/1.141, allocations: 142.3 kB / 1.132 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/1.141, allocations: 38.7 kB / 1.132 GB, free: 9.398 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008869/1.142, allocations: 332.6 kB / 1.132 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/1.142, allocations: 88.69 kB / 1.132 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/1.144, allocations: 0.6177 MB / 1.133 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/1.144, allocations: 9.25 kB / 1.133 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.144, allocations: 4.188 kB / 1.133 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008902/1.145, allocations: 0.5211 MB / 1.133 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/1.148, allocations: 1.774 MB / 1.135 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.148, allocations: 3.156 kB / 1.135 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005578/1.149, allocations: 114.5 kB / 1.135 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/1.149, allocations: 3.125 kB / 1.135 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/1.149, allocations: 19.97 kB / 1.135 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/1.149, allocations: 8.688 kB / 1.135 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.149, allocations: 2.875 kB / 1.135 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/1.15, allocations: 1.075 MB / 1.136 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/1.151, allocations: 235.2 kB / 1.136 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.74e-05/1.151, allocations: 16.58 kB / 1.136 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006139/1.151, allocations: 72.42 kB / 1.136 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/1.151, allocations: 38.12 kB / 1.136 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/1.151, allocations: 15.34 kB / 1.136 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006687/1.152, allocations: 0.5138 MB / 1.137 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/1.152, allocations: 0 / 1.137 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001057/1.153, allocations: 305.7 kB / 1.137 GB, free: 8.066 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002132/1.155, allocations: 1.728 MB / 1.139 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001041/1.156, allocations: 0.6104 MB / 1.14 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.156, allocations: 0 / 1.14 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003401/1.157, allocations: 287.1 kB / 1.14 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/1.159, allocations: 443.5 kB / 1.14 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/1.171, allocations: 7.933 MB / 1.148 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/1.171, allocations: 1.123 MB / 1.149 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001156/1.173, allocations: 276.4 kB / 1.149 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005226/1.173, allocations: 364.4 kB / 1.15 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of SimCode: time 2.705e-06/1.173, allocations: 0 / 1.15 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04784/1.221, allocations: 22.34 MB / 1.171 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/1.221, allocations: 247.6 kB / 1.172 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.033/4.254, allocations: 4 kB / 1.172 GB, free: 1.344 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)