Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_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.005589/0.005589, allocations: 99.66 kB / 15.73 MB, free: 5.551 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.001561/0.001561, allocations: 196.7 kB / 16.68 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002591/0.002591, allocations: 275 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 178.6 MB / 0.5074 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00451/0.004511, allocations: 108 kB / 0.6943 GB, free: 3.562 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.4501, allocations: 89.13 MB / 0.7814 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.1738/0.624, allocations: 149.1 MB / 0.927 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004517/0.6285, allocations: 3.598 MB / 0.9305 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.6286, allocations: 8 kB / 0.9305 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.6291, allocations: 67.62 kB / 0.9306 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.6294, allocations: 131.2 kB / 0.9307 GB, free: 5.809 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.6319, allocations: 1.015 MB / 0.9317 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0004284/0.6324, allocations: 319.7 kB / 0.932 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.6324, allocations: 13.56 kB / 0.932 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.6328, allocations: 195.2 kB / 0.9322 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.6331, allocations: 131.5 kB / 0.9323 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.6331, allocations: 8 kB / 0.9323 GB, free: 4.141 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.6352, allocations: 1.223 MB / 0.9335 GB, free: 2.914 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 9.859e-05/0.6354, allocations: 67.78 kB / 0.9336 GB, free: 2.848 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.6355, allocations: 111.5 kB / 0.9337 GB, free: 2.738 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.6367, allocations: 0.6398 MB / 0.9343 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6367, allocations: 3.984 kB / 0.9343 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6367, allocations: 0 / 0.9343 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.6367, allocations: 0 / 0.9343 GB, free: 2.098 MB / 0.6856 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.001137/0.6379, allocations: 0.5957 MB / 0.9349 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.6379, allocations: 12.03 kB / 0.9349 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.579e-05/0.638, allocations: 54.73 kB / 0.935 GB, free: 1.379 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.6392, allocations: 136.7 kB / 0.9351 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.6395, allocations: 231.8 kB / 0.9353 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.6396, allocations: 16.36 kB / 0.9353 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.6396, allocations: 24 kB / 0.9354 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005992/0.6402, allocations: 334.1 kB / 0.9357 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.6402, allocations: 0 / 0.9357 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.6403, allocations: 12 kB / 0.9357 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.6403, allocations: 19.92 kB / 0.9357 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005813/0.6409, allocations: 324.1 kB / 0.936 GB, free: 252 kB / 0.6856 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.001654/0.6426, allocations: 1.106 MB / 0.9371 GB, free: 15.05 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.6431, allocations: 194.5 kB / 0.9373 GB, free: 14.85 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.6432, allocations: 88.73 kB / 0.9374 GB, free: 14.76 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005716/0.6438, allocations: 453.5 kB / 0.9378 GB, free: 14.23 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.6439, allocations: 38.5 kB / 0.9378 GB, free: 14.18 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.6439, allocations: 4 kB / 0.9378 GB, free: 14.18 MB / 0.7013 GB Notification: Performance of matching and sorting (n=21): time 0.0006799/0.6446, allocations: 268 kB / 0.9381 GB, free: 13.91 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.6446, allocations: 55.41 kB / 0.9382 GB, free: 13.84 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.6448, allocations: 211 kB / 0.9384 GB, free: 13.62 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.6449, allocations: 25.7 kB / 0.9384 GB, free: 13.59 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.645, allocations: 148.3 kB / 0.9385 GB, free: 13.44 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 6.277e-05/0.645, allocations: 75.31 kB / 0.9386 GB, free: 13.37 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-05/0.6451, allocations: 53.66 kB / 0.9386 GB, free: 13.31 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.6453, allocations: 326.8 kB / 0.939 GB, free: 12.98 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.6454, allocations: 76.22 kB / 0.939 GB, free: 12.91 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.6456, allocations: 155.7 kB / 0.9392 GB, free: 12.71 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/0.646, allocations: 250.9 kB / 0.9394 GB, free: 12.43 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.646, allocations: 3.938 kB / 0.9394 GB, free: 12.43 MB / 0.7013 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005415/0.6466, allocations: 283.7 kB / 0.9397 GB, free: 12.14 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.6466, allocations: 11.98 kB / 0.9397 GB, free: 12.13 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6466, allocations: 0 / 0.9397 GB, free: 12.13 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.6466, allocations: 7.938 kB / 0.9397 GB, free: 12.12 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.6469, allocations: 59.92 kB / 0.9398 GB, free: 12.07 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.6469, allocations: 4 kB / 0.9398 GB, free: 12.06 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.6471, allocations: 35.72 kB / 0.9398 GB, free: 12.03 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.6472, allocations: 12 kB / 0.9398 GB, free: 12.02 MB / 0.7013 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.6473, allocations: 141.8 kB / 0.9399 GB, free: 11.87 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.6474, allocations: 23.89 kB / 0.94 GB, free: 11.84 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005018/0.648, allocations: 286.9 kB / 0.9402 GB, free: 11.57 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.648, allocations: 4 kB / 0.9402 GB, free: 11.56 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.648, allocations: 0 / 0.9402 GB, free: 11.56 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.648, allocations: 0 / 0.9402 GB, free: 11.56 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007729/0.6488, allocations: 0.5895 MB / 0.9408 GB, free: 10.91 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6488, allocations: 4.062 kB / 0.9408 GB, free: 10.91 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.649, allocations: 31.98 kB / 0.9409 GB, free: 10.88 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.649, allocations: 0 / 0.9409 GB, free: 10.88 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.649, allocations: 8 kB / 0.9409 GB, free: 10.87 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.649, allocations: 7.938 kB / 0.9409 GB, free: 10.86 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.649, allocations: 7.984 kB / 0.9409 GB, free: 10.85 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.6496, allocations: 349 kB / 0.9412 GB, free: 10.49 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.6497, allocations: 120.9 kB / 0.9413 GB, free: 10.35 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.6498, allocations: 3.984 kB / 0.9413 GB, free: 10.35 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.65, allocations: 12 kB / 0.9413 GB, free: 10.34 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.6501, allocations: 11.92 kB / 0.9414 GB, free: 10.32 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.6501, allocations: 19.98 kB / 0.9414 GB, free: 10.3 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.000137/0.6503, allocations: 153.4 kB / 0.9415 GB, free: 10.16 MB / 0.7013 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6503, allocations: 0 / 0.9415 GB, free: 10.16 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.0004729/0.6507, allocations: 119.8 kB / 0.9416 GB, free: 10.04 MB / 0.7013 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 (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.001171/0.6519, allocations: 0.993 MB / 0.9426 GB, free: 9.012 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.6523, allocations: 204.2 kB / 0.9428 GB, free: 8.816 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.6524, allocations: 0.75 kB / 0.9428 GB, free: 8.816 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.6525, allocations: 115.8 kB / 0.9429 GB, free: 8.703 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000641/0.6532, allocations: 91.91 kB / 0.943 GB, free: 8.613 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.6562, allocations: 2.492 MB / 0.9454 GB, free: 5.961 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.6566, allocations: 0.7328 MB / 0.9461 GB, free: 5.203 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 0.0002523/0.6569, allocations: 58.25 kB / 0.9462 GB, free: 5.148 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.657, allocations: 59.42 kB / 0.9463 GB, free: 5.09 MB / 0.7013 GB Notification: Performance of SimCode: time 2.084e-06/0.657, allocations: 0 / 0.9463 GB, free: 5.09 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.6873, allocations: 7.766 MB / 0.9538 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/8.901, allocations: 12.12 kB / 0.9539 GB, free: 13.46 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirProperties.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.AirProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_AirProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1)