Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008538/0.0008538, allocations: 87.42 kB / 15.07 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000943/0.000943, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.572/2.572, allocations: 409.4 MB / 0.684 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004792, allocations: 11.94 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8882/0.8887, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2051/1.094, allocations: 177.6 MB / 1.155 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01747/1.111, allocations: 13.29 MB / 1.168 GB, free: 6.871 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/1.113, allocations: 27.81 kB / 1.168 GB, free: 6.844 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/1.114, allocations: 349.8 kB / 1.168 GB, free: 6.5 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004348/1.119, allocations: 1.376 MB / 1.169 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00228/1.121, allocations: 0.6641 MB / 1.17 GB, free: 4.461 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003805/1.125, allocations: 3.06 MB / 1.173 GB, free: 1.391 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001541/1.126, allocations: 0.8085 MB / 1.174 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/1.13, allocations: 1.206 MB / 1.175 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/1.132, allocations: 0.8875 MB / 1.176 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003649/1.132, allocations: 48 kB / 1.176 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/1.134, allocations: 0.5651 MB / 1.176 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007309/1.135, allocations: 446.8 kB / 1.177 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006948/1.136, allocations: 253.1 kB / 1.177 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002364/1.138, allocations: 1.356 MB / 1.178 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.138, allocations: 3.938 kB / 1.178 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.565e-06/1.138, allocations: 4 kB / 1.178 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.953e-05/1.138, allocations: 3.938 kB / 1.178 GB, free: 11.79 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002754/1.141, allocations: 1.235 MB / 1.179 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.141, allocations: 12.03 kB / 1.18 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000213/1.141, allocations: 147.6 kB / 1.18 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/1.143, allocations: 254.3 kB / 1.18 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/1.144, allocations: 0.8161 MB / 1.181 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.32e-05/1.144, allocations: 70 kB / 1.181 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/1.144, allocations: 95.98 kB / 1.181 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/1.146, allocations: 1.169 MB / 1.182 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/1.146, allocations: 0 / 1.182 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.789e-05/1.146, allocations: 44 kB / 1.182 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-05/1.146, allocations: 34 kB / 1.182 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/1.148, allocations: 0.9053 MB / 1.183 GB, free: 6.852 MB / 0.9356 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.005829/1.154, allocations: 5.751 MB / 1.189 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008892/1.154, allocations: 0.5658 MB / 1.189 GB, free: 60 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004632/1.155, allocations: 327.5 kB / 1.189 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005782/1.155, allocations: 323.7 kB / 1.19 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/1.156, allocations: 46.94 kB / 1.19 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=51): time 2.505e-06/1.156, allocations: 0 / 1.19 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=51): time 0.001627/1.157, allocations: 0.8182 MB / 1.191 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/1.157, allocations: 85.55 kB / 1.191 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009376/1.158, allocations: 0.7431 MB / 1.191 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.658e-05/1.158, allocations: 37.7 kB / 1.191 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/1.159, allocations: 0.5104 MB / 1.192 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/1.159, allocations: 181.4 kB / 1.192 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/1.159, allocations: 16 kB / 1.192 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.159, allocations: 337.9 kB / 1.192 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/1.159, allocations: 257.8 kB / 1.193 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/1.16, allocations: 0.5731 MB / 1.193 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/1.161, allocations: 352.6 kB / 1.194 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.161, allocations: 4 kB / 1.194 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001287/1.162, allocations: 0.8583 MB / 1.194 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/1.162, allocations: 9.562 kB / 1.194 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/1.162, allocations: 12 kB / 1.194 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/1.162, allocations: 16 kB / 1.194 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/1.163, allocations: 163.7 kB / 1.195 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.2e-05/1.163, allocations: 15.94 kB / 1.195 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008646/1.163, allocations: 151 kB / 1.195 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.343e-05/1.164, allocations: 39.98 kB / 1.195 GB, free: 9.957 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004642/1.164, allocations: 333.4 kB / 1.195 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/1.164, allocations: 86.97 kB / 1.195 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/1.165, allocations: 0.6296 MB / 1.196 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/1.165, allocations: 11.94 kB / 1.196 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/1.165, allocations: 4 kB / 1.196 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007094/1.166, allocations: 0.5212 MB / 1.196 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/1.168, allocations: 1.78 MB / 1.198 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.168, allocations: 0 / 1.198 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005122/1.169, allocations: 107.9 kB / 1.198 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/1.169, allocations: 8.094 kB / 1.198 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/1.169, allocations: 23.89 kB / 1.198 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/1.169, allocations: 4 kB / 1.198 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.169, allocations: 7.984 kB / 1.198 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/1.17, allocations: 1.045 MB / 1.199 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/1.171, allocations: 235.9 kB / 1.199 GB, free: 5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/1.171, allocations: 16 kB / 1.199 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005606/1.171, allocations: 65.34 kB / 1.2 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/1.172, allocations: 35.89 kB / 1.2 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.115e-05/1.172, allocations: 23.98 kB / 1.2 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006695/1.172, allocations: 0.5068 MB / 1.2 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.923e-06/1.172, allocations: 0 / 1.2 GB, free: 4.359 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001001/1.173, allocations: 307.3 kB / 1.2 GB, free: 4.059 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002084/1.175, allocations: 1.692 MB / 1.202 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001102/1.176, allocations: 0.6224 MB / 1.203 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.176, allocations: 1.875 kB / 1.203 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003916/1.177, allocations: 284 kB / 1.203 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/1.179, allocations: 448.4 kB / 1.203 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/1.19, allocations: 5.718 MB / 1.209 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009276/1.191, allocations: 1.118 MB / 1.21 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00109/1.192, allocations: 279.3 kB / 1.21 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005775/1.193, allocations: 371.3 kB / 1.211 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of SimCode: time 1.363e-06/1.193, allocations: 0 / 1.211 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04378/1.237, allocations: 23.34 MB / 1.233 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/1.237, allocations: 234.6 kB / 1.234 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/3.616, allocations: 4 kB / 1.234 GB, free: 2.004 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat does not exist to compare? outputFormat=mat