Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirProperties.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.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",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.001039/0.001039, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001348/0.001348, allocations: 172.7 kB / 15.95 MB, free: 208 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.425/1.425, 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.678/2.678, allocations: 409.4 MB / 0.684 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003661, allocations: 8.219 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8333/0.8337, allocations: 146.8 MB / 0.9811 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1532/0.9869, allocations: 135.2 MB / 1.113 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004099/0.9911, allocations: 3.337 MB / 1.116 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.9912, allocations: 3.938 kB / 1.116 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.9916, allocations: 39.78 kB / 1.116 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0004075/0.992, allocations: 131.3 kB / 1.117 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.9944, allocations: 0.6441 MB / 1.117 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005475/0.995, allocations: 415.6 kB / 1.118 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 5.807e-05/0.9951, allocations: 13.55 kB / 1.118 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003611/0.9954, allocations: 167.3 kB / 1.118 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.9956, allocations: 139.5 kB / 1.118 GB, free: 9.73 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.9956, allocations: 12 kB / 1.118 GB, free: 9.719 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.997, allocations: 0.6586 MB / 1.119 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 9.258e-05/0.9971, allocations: 71.83 kB / 1.119 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 6.442e-05/0.9972, allocations: 69.58 kB / 1.119 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005386/0.9978, allocations: 385.4 kB / 1.119 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9978, allocations: 0 / 1.119 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9978, allocations: 0 / 1.119 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.9978, allocations: 0 / 1.119 GB, free: 8.539 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001097/0.9989, allocations: 0.5458 MB / 1.12 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.9989, allocations: 16.03 kB / 1.12 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.815e-05/0.999, allocations: 58.55 kB / 1.12 GB, free: 7.863 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/1, allocations: 123.7 kB / 1.12 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/1, allocations: 214.8 kB / 1.12 GB, free: 7.492 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/1, allocations: 32.25 kB / 1.12 GB, free: 7.461 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/1, allocations: 16 kB / 1.12 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/1.001, allocations: 334.3 kB / 1.12 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.001, allocations: 4 kB / 1.12 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/1.001, allocations: 4 kB / 1.12 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/1.001, allocations: 19.92 kB / 1.12 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004962/1.002, allocations: 328.1 kB / 1.121 GB, free: 6.754 MB / 0.8731 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.001454/1.003, allocations: 1.102 MB / 1.122 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/1.004, allocations: 191.4 kB / 1.122 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/1.004, allocations: 88.89 kB / 1.122 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005196/1.004, allocations: 453.5 kB / 1.122 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/1.004, allocations: 34.56 kB / 1.123 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 1.693e-06/1.004, allocations: 4 kB / 1.123 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.0006374/1.005, allocations: 266.9 kB / 1.123 GB, free: 4.43 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/1.005, allocations: 59.36 kB / 1.123 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/1.005, allocations: 203.1 kB / 1.123 GB, free: 4.148 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/1.005, allocations: 29.7 kB / 1.123 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.955e-05/1.005, allocations: 144 kB / 1.123 GB, free: 3.969 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/1.005, allocations: 70.95 kB / 1.123 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/1.005, allocations: 4 kB / 1.123 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.005, allocations: 334.8 kB / 1.124 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/1.006, allocations: 72.22 kB / 1.124 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/1.006, allocations: 148.8 kB / 1.124 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/1.006, allocations: 95.89 kB / 1.124 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.006, allocations: 0 / 1.124 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004954/1.006, allocations: 281.1 kB / 1.124 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.006, allocations: 11.95 kB / 1.124 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.007, allocations: 4 kB / 1.124 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/1.007, allocations: 4 kB / 1.124 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/1.007, allocations: 55.92 kB / 1.124 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/1.007, allocations: 12.3 kB / 1.124 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/1.007, allocations: 39.59 kB / 1.124 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/1.007, allocations: 8.109 kB / 1.124 GB, free: 2.797 MB / 0.8731 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001265/1.007, allocations: 141.7 kB / 1.124 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/1.007, allocations: 23.81 kB / 1.124 GB, free: 2.625 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/1.008, allocations: 286 kB / 1.125 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.008, allocations: 8 kB / 1.125 GB, free: 2.332 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.008, allocations: 0 / 1.125 GB, free: 2.332 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.008, allocations: 11.86 kB / 1.125 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007013/1.009, allocations: 0.5715 MB / 1.125 GB, free: 1.688 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.009, allocations: 0 / 1.125 GB, free: 1.688 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/1.009, allocations: 35.98 kB / 1.125 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/1.009, allocations: 4 kB / 1.125 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/1.009, allocations: 64 / 1.125 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.009, allocations: 4 kB / 1.125 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.009, allocations: 4 kB / 1.125 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/1.009, allocations: 350.7 kB / 1.126 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/1.009, allocations: 124.8 kB / 1.126 GB, free: 1.137 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/1.009, allocations: 4 kB / 1.126 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/1.01, allocations: 20.59 kB / 1.126 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/1.01, allocations: 15.98 kB / 1.126 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/1.01, allocations: 11.95 kB / 1.126 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001258/1.01, allocations: 156.3 kB / 1.126 GB, free: 0.9336 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.01, allocations: 3.938 kB / 1.126 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004859/1.01, allocations: 111.9 kB / 1.126 GB, free: 0.8203 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001017/1.011, allocations: 0.9636 MB / 1.127 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00036/1.012, allocations: 209.5 kB / 1.127 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.012, allocations: 4 kB / 1.127 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/1.012, allocations: 95.89 kB / 1.127 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005977/1.013, allocations: 96.66 kB / 1.127 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/1.014, allocations: 1.337 MB / 1.129 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/1.015, allocations: 0.7482 MB / 1.129 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003064/1.015, allocations: 54.25 kB / 1.13 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/1.015, allocations: 55.42 kB / 1.13 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of SimCode: time 2.6e-07/1.015, allocations: 7.938 kB / 1.13 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/1.033, allocations: 7.126 MB / 1.137 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/1.033, allocations: 174.3 kB / 1.137 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/3.029, allocations: 0 / 1.137 GB, free: 5.934 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_AirProperties.fmu > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat does not exist to compare? outputFormat=mat