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.001864/0.001864, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002608/0.002609, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.955/1.955, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003547/0.003547, allocations: 294.4 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.199/1.199, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 95.44 kB / 0.5953 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1842, allocations: 86.98 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.5285/0.7128, allocations: 149.1 MB / 0.8259 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004204/0.717, allocations: 3.624 MB / 0.8294 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.7172, allocations: 1.094 kB / 0.8294 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.7176, allocations: 59.94 kB / 0.8295 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003514/0.718, allocations: 139.6 kB / 0.8296 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.7206, allocations: 1.009 MB / 0.8306 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.721, allocations: 317.8 kB / 0.8309 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.965e-05/0.7211, allocations: 20.38 kB / 0.8309 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004011/0.7215, allocations: 180.7 kB / 0.8311 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.7217, allocations: 137 kB / 0.8312 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.7218, allocations: 14.03 kB / 0.8312 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.724, allocations: 1.222 MB / 0.8324 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.7242, allocations: 67.52 kB / 0.8325 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.7243, allocations: 106.8 kB / 0.8326 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.7255, allocations: 0.6338 MB / 0.8332 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.7255, allocations: 1.734 kB / 0.8332 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7255, allocations: 0 / 0.8332 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.7256, allocations: 1.031 kB / 0.8332 GB, free: 0.8828 MB / 0.5606 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.00128/0.7268, allocations: 0.5862 MB / 0.8338 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.7269, allocations: 15.12 kB / 0.8338 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.768e-05/0.727, allocations: 58.25 kB / 0.8338 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.7282, allocations: 134.5 kB / 0.834 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.7285, allocations: 217.8 kB / 0.8342 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.7285, allocations: 18.56 kB / 0.8342 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.7286, allocations: 19.45 kB / 0.8342 GB, free: 16.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005436/0.7291, allocations: 330.2 kB / 0.8345 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.7291, allocations: 9.156 kB / 0.8345 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.7292, allocations: 10.28 kB / 0.8345 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/0.7292, allocations: 14.2 kB / 0.8346 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000538/0.7298, allocations: 319.9 kB / 0.8349 GB, free: 16.08 MB / 0.5762 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.001613/0.7314, allocations: 1.114 MB / 0.8359 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005051/0.7319, allocations: 194.6 kB / 0.8361 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.7321, allocations: 81.84 kB / 0.8362 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005688/0.7326, allocations: 462 kB / 0.8367 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.7327, allocations: 41.5 kB / 0.8367 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 1.733e-06/0.7327, allocations: 0 / 0.8367 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.0006829/0.7334, allocations: 264.3 kB / 0.8369 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.7334, allocations: 54.53 kB / 0.837 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.7336, allocations: 204.5 kB / 0.8372 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.7337, allocations: 35.48 kB / 0.8372 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/0.7337, allocations: 142.5 kB / 0.8374 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.7338, allocations: 70.34 kB / 0.8374 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-05/0.7339, allocations: 55.97 kB / 0.8375 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.734, allocations: 326.5 kB / 0.8378 GB, free: 14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.7342, allocations: 71.78 kB / 0.8379 GB, free: 14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.7343, allocations: 165.4 kB / 0.838 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.7347, allocations: 248.5 kB / 0.8383 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7347, allocations: 1.281 kB / 0.8383 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000522/0.7352, allocations: 287.6 kB / 0.8385 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.7352, allocations: 4.594 kB / 0.8385 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.7353, allocations: 3.594 kB / 0.8385 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.7353, allocations: 15.66 kB / 0.8386 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.7356, allocations: 58.28 kB / 0.8386 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.7356, allocations: 3.516 kB / 0.8386 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.7358, allocations: 29 kB / 0.8386 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.7359, allocations: 18.47 kB / 0.8387 GB, free: 13.67 MB / 0.5762 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.0001239/0.736, allocations: 136.5 kB / 0.8388 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.7361, allocations: 28 kB / 0.8388 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.7366, allocations: 276 kB / 0.8391 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/0.7367, allocations: 9.031 kB / 0.8391 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7367, allocations: 112 / 0.8391 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7367, allocations: 5.312 kB / 0.8391 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007531/0.7374, allocations: 0.5835 MB / 0.8397 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7375, allocations: 1.469 kB / 0.8397 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.7377, allocations: 34.52 kB / 0.8397 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.7377, allocations: 8.781 kB / 0.8397 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.7377, allocations: 10.16 kB / 0.8397 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.7377, allocations: 3.656 kB / 0.8397 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7377, allocations: 1.312 kB / 0.8397 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000562/0.7383, allocations: 347.3 kB / 0.84 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.7384, allocations: 123.6 kB / 0.8402 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.7385, allocations: 5.531 kB / 0.8402 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.7388, allocations: 13.17 kB / 0.8402 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.7388, allocations: 14.78 kB / 0.8402 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.7388, allocations: 14.97 kB / 0.8402 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001446/0.739, allocations: 150.6 kB / 0.8404 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.739, allocations: 0 / 0.8404 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006398/0.7396, allocations: 116.1 kB / 0.8405 GB, free: 12.78 MB / 0.5762 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.001199/0.7409, allocations: 1 MB / 0.8414 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004159/0.7413, allocations: 219.8 kB / 0.8417 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7413, allocations: 0 / 0.8417 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.7415, allocations: 104.1 kB / 0.8418 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.7421, allocations: 98.03 kB / 0.8418 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/0.745, allocations: 2.494 MB / 0.8443 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.7453, allocations: 0.7358 MB / 0.845 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003196/0.7457, allocations: 62.75 kB / 0.8451 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.7458, allocations: 58.39 kB / 0.8451 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.7458, allocations: 0 / 0.8451 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/0.7737, allocations: 7.691 MB / 0.8526 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.58, allocations: 6.719 kB / 0.8526 GB, free: 5.66 MB / 0.5762 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)