Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_8_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.001345/0.001345, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001598/0.001598, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.754/2.754, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.03/3.03, allocations: 292.6 MB / 0.5498 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000825/0.0008258, allocations: 14.66 kB / 0.6736 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.4713, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 1.239/1.71, allocations: 125.9 MB / 0.9101 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01099/1.721, allocations: 4.563 MB / 0.9146 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004513/1.722, allocations: 0.9688 kB / 0.9146 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000421/1.722, allocations: 48.12 kB / 0.9146 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005915/1.723, allocations: 97.17 kB / 0.9147 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004443/1.727, allocations: 0.6566 MB / 0.9154 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006718/1.728, allocations: 185.1 kB / 0.9155 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/1.728, allocations: 9.469 kB / 0.9156 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006735/1.729, allocations: 159 kB / 0.9157 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/1.729, allocations: 96.61 kB / 0.9158 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/1.729, allocations: 8.156 kB / 0.9158 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003569/1.733, allocations: 0.6638 MB / 0.9165 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001776/1.733, allocations: 59.09 kB / 0.9165 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005335/1.733, allocations: 64.95 kB / 0.9166 GB, free: 22.3 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/1.735, allocations: 365.6 kB / 0.9169 GB, free: 22.27 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/1.735, allocations: 0 / 0.9169 GB, free: 22.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.427e-06/1.735, allocations: 1.531 kB / 0.9169 GB, free: 22.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.043e-06/1.735, allocations: 4 kB / 0.9169 GB, free: 22.26 MB / 0.7325 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.00176/1.736, allocations: 0.5421 MB / 0.9175 GB, free: 21.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.715e-05/1.736, allocations: 9.375 kB / 0.9175 GB, free: 21.82 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/1.737, allocations: 65.75 kB / 0.9175 GB, free: 21.78 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/1.739, allocations: 135.9 kB / 0.9177 GB, free: 21.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/1.74, allocations: 215.4 kB / 0.9179 GB, free: 21.56 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/1.74, allocations: 18.25 kB / 0.9179 GB, free: 21.56 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/1.74, allocations: 15.88 kB / 0.9179 GB, free: 21.56 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009288/1.741, allocations: 341.5 kB / 0.9182 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/1.741, allocations: 0 / 0.9182 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.474e-05/1.741, allocations: 13.06 kB / 0.9182 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.478e-05/1.741, allocations: 14.84 kB / 0.9182 GB, free: 21.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009007/1.742, allocations: 324.9 kB / 0.9186 GB, free: 21.47 MB / 0.7325 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.002802/1.744, allocations: 1.107 MB / 0.9196 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008962/1.745, allocations: 185.3 kB / 0.9198 GB, free: 20.69 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/1.746, allocations: 457.3 kB / 0.9203 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.866e-05/1.747, allocations: 40.09 kB / 0.9203 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 5.5e-06/1.747, allocations: 1.172 kB / 0.9203 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.001304/1.748, allocations: 339.7 kB / 0.9206 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/1.748, allocations: 51.92 kB / 0.9207 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/1.748, allocations: 208.2 kB / 0.9209 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/1.748, allocations: 38.8 kB / 0.9209 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/1.749, allocations: 142.2 kB / 0.921 GB, free: 19.72 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.51e-05/1.749, allocations: 67.56 kB / 0.9211 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/1.749, allocations: 8.234 kB / 0.9211 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002261/1.749, allocations: 329.5 kB / 0.9214 GB, free: 19.37 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/1.749, allocations: 66.11 kB / 0.9215 GB, free: 19.37 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/1.75, allocations: 162 kB / 0.9216 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/1.75, allocations: 92.39 kB / 0.9217 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.75, allocations: 0 / 0.9217 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009295/1.751, allocations: 279 kB / 0.922 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/1.751, allocations: 10.97 kB / 0.922 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/1.751, allocations: 2.156 kB / 0.922 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/1.751, allocations: 4.25 kB / 0.922 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/1.751, allocations: 62.84 kB / 0.9221 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/1.751, allocations: 5.812 kB / 0.9221 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003971/1.752, allocations: 30.33 kB / 0.9221 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/1.752, allocations: 14.75 kB / 0.9221 GB, free: 19.19 MB / 0.7325 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.0002522/1.752, allocations: 147.6 kB / 0.9223 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/1.752, allocations: 22.64 kB / 0.9223 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008955/1.753, allocations: 282.1 kB / 0.9226 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/1.753, allocations: 3.141 kB / 0.9226 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/1.753, allocations: 4.656 kB / 0.9226 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.753, allocations: 0.6562 kB / 0.9226 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/1.755, allocations: 0.5852 MB / 0.9231 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/1.755, allocations: 0 / 0.9231 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/1.755, allocations: 36.03 kB / 0.9232 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/1.755, allocations: 2.625 kB / 0.9232 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/1.755, allocations: 10.34 kB / 0.9232 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.755, allocations: 0 / 0.9232 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.755, allocations: 5.641 kB / 0.9232 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009551/1.756, allocations: 370.8 kB / 0.9235 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/1.757, allocations: 121 kB / 0.9237 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.484e-05/1.757, allocations: 3.141 kB / 0.9237 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/1.757, allocations: 10.11 kB / 0.9237 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/1.757, allocations: 19.39 kB / 0.9237 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.547e-05/1.757, allocations: 12.95 kB / 0.9237 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002753/1.758, allocations: 148.9 kB / 0.9238 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4e-07/1.758, allocations: 1.75 kB / 0.9238 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001021/1.759, allocations: 118.6 kB / 0.924 GB, free: 18.28 MB / 0.7325 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.002022/1.761, allocations: 1.129 MB / 0.9251 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007867/1.761, allocations: 202.7 kB / 0.9252 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.761, allocations: 7.062 kB / 0.9253 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002769/1.762, allocations: 103.3 kB / 0.9254 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009987/1.763, allocations: 87.69 kB / 0.9254 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/1.767, allocations: 3.137 MB / 0.9285 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/1.768, allocations: 0.7385 MB / 0.9292 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006469/1.769, allocations: 53.22 kB / 0.9293 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/1.769, allocations: 62.06 kB / 0.9293 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of SimCode: time 1.152e-06/1.769, allocations: 0 / 0.9293 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05049/1.819, allocations: 6.986 MB / 0.9362 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003592/1.82, allocations: 166.9 kB / 0.9363 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.269/5.089, allocations: 0 / 0.9363 GB, free: 13.44 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_AirProperties.fmu > Buildings_8_Buildings.Media.Examples.AirProperties.pipe 2>&1) Environment - environmentSimulation: