Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.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.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",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.001084/0.001084, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001285/0.001285, allocations: 168.7 kB / 15.95 MB, free: 204 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.361/1.361, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.457/2.457, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003761, allocations: 15.94 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6547/0.6551, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1781/0.8332, allocations: 176.6 MB / 1.154 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.8435, allocations: 9.335 MB / 1.163 GB, free: 11.8 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007501/0.8442, allocations: 27.75 kB / 1.163 GB, free: 11.77 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007832/0.845, allocations: 281.9 kB / 1.163 GB, free: 11.5 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001929/0.847, allocations: 0.793 MB / 1.164 GB, free: 10.7 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.8493, allocations: 0.9061 MB / 1.165 GB, free: 9.793 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001931/0.8512, allocations: 1.982 MB / 1.167 GB, free: 7.805 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000808/0.852, allocations: 0.6041 MB / 1.167 GB, free: 7.184 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.8544, allocations: 1.109 MB / 1.168 GB, free: 6.07 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005765/0.855, allocations: 0.5057 MB / 1.169 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.174e-05/0.8551, allocations: 36 kB / 1.169 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.8568, allocations: 0.7209 MB / 1.17 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.8571, allocations: 307.2 kB / 1.17 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.8573, allocations: 181.3 kB / 1.17 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.8583, allocations: 0.9509 MB / 1.171 GB, free: 3.367 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.8583, allocations: 0 / 1.171 GB, free: 3.367 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8583, allocations: 0 / 1.171 GB, free: 3.367 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.8583, allocations: 0 / 1.171 GB, free: 3.367 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001271/0.8596, allocations: 0.9783 MB / 1.172 GB, free: 2.336 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.8597, allocations: 12.02 kB / 1.172 GB, free: 2.324 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.8598, allocations: 130.5 kB / 1.172 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.8615, allocations: 302.5 kB / 1.172 GB, free: 1.891 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007436/0.8622, allocations: 0.5004 MB / 1.173 GB, free: 1.348 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.376e-05/0.8623, allocations: 66 kB / 1.173 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.982e-05/0.8624, allocations: 75.98 kB / 1.173 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.8637, allocations: 0.8985 MB / 1.174 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.8637, allocations: 3.938 kB / 1.174 GB, free: 256 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/0.8638, allocations: 39.94 kB / 1.174 GB, free: 216 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.254e-05/0.8638, allocations: 41.3 kB / 1.174 GB, free: 172 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009791/0.8648, allocations: 0.5866 MB / 1.174 GB, free: 15.58 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.003182/0.868, allocations: 3.497 MB / 1.178 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.8684, allocations: 223.7 kB / 1.178 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.8686, allocations: 154.5 kB / 1.178 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007587/0.8694, allocations: 0.4897 MB / 1.179 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.8695, allocations: 38.56 kB / 1.179 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.8695, allocations: 0 / 1.179 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.001142/0.8706, allocations: 470.1 kB / 1.179 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.8707, allocations: 106.8 kB / 1.179 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009497/0.8716, allocations: 0.8566 MB / 1.18 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.8717, allocations: 29.7 kB / 1.18 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.872, allocations: 379.8 kB / 1.181 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/0.872, allocations: 78.83 kB / 1.181 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/0.872, allocations: 8 kB / 1.181 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.8722, allocations: 325.9 kB / 1.181 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.8724, allocations: 103.9 kB / 1.181 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.8727, allocations: 223.6 kB / 1.181 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.8729, allocations: 131.9 kB / 1.181 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8729, allocations: 0 / 1.181 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006781/0.8736, allocations: 409.3 kB / 1.182 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.8737, allocations: 7.938 kB / 1.182 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.8737, allocations: 4 kB / 1.182 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.8737, allocations: 4.344 kB / 1.182 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.874, allocations: 67.91 kB / 1.182 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.874, allocations: 15.92 kB / 1.182 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.8745, allocations: 87.09 kB / 1.182 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.8745, allocations: 12 kB / 1.182 GB, free: 7.496 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.0002545/0.8748, allocations: 241.6 kB / 1.182 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.8749, allocations: 79.06 kB / 1.182 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006087/0.8755, allocations: 334.2 kB / 1.183 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.8756, allocations: 11.98 kB / 1.183 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.8756, allocations: 0 / 1.183 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.8756, allocations: 0 / 1.183 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.8774, allocations: 1.381 MB / 1.184 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.8774, allocations: 7.938 kB / 1.184 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.8777, allocations: 48.52 kB / 1.184 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.8777, allocations: 4 kB / 1.184 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.8777, allocations: 16 kB / 1.184 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.8777, allocations: 7.984 kB / 1.184 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.8777, allocations: 7.938 kB / 1.184 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/0.8783, allocations: 0.5165 MB / 1.185 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.8785, allocations: 192 kB / 1.185 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.591e-05/0.8786, allocations: 8 kB / 1.185 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000366/0.879, allocations: 31.88 kB / 1.185 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/0.8791, allocations: 31.88 kB / 1.185 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.8791, allocations: 8 kB / 1.185 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006915/0.8798, allocations: 0.6083 MB / 1.185 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8798, allocations: 0 / 1.185 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005831/0.8804, allocations: 163.7 kB / 1.186 GB, free: 3.605 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 simulation (21): * Single equations (assignments): 21 * 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.001167/0.8816, allocations: 1.149 MB / 1.187 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005455/0.8821, allocations: 270.5 kB / 1.187 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.8821, allocations: 0 / 1.187 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.8824, allocations: 136.7 kB / 1.187 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.8842, allocations: 414.1 kB / 1.187 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005845/0.89, allocations: 4.353 MB / 1.192 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.8905, allocations: 0.9881 MB / 1.193 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005822/0.8911, allocations: 166.2 kB / 1.193 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.8915, allocations: 275.3 kB / 1.193 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of SimCode: time 1.263e-06/0.8915, allocations: 0 / 1.193 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0344/0.9259, allocations: 19.86 MB / 1.212 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.9261, allocations: 234.5 kB / 1.213 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.094/3.02, allocations: 0 / 1.213 GB, free: 7.824 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat does not exist to compare? outputFormat=mat