Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.AirProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirProperties,fileNamePrefix="IBPSA_latest_IBPSA_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.0009696/0.0009696, allocations: 107.6 kB / 15.99 MB, free: 6.352 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.0009956/0.0009956, allocations: 190.5 kB / 16.91 MB, free: 6.195 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.218/1.218, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.699/0.699, allocations: 115.3 MB / 406.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.91 kB / 493.2 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3204, allocations: 76.17 MB / 0.556 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirProperties): time 0.149/0.4695, allocations: 147 MB / 0.6995 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004437/0.474, allocations: 3.608 MB / 0.7031 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.4741, allocations: 0 / 0.7031 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.4746, allocations: 71.69 kB / 0.7031 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.4751, allocations: 119.3 kB / 0.7033 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002782/0.4779, allocations: 0.9512 MB / 0.7042 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.4783, allocations: 319.8 kB / 0.7045 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.541e-05/0.4783, allocations: 13.56 kB / 0.7045 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003913/0.4787, allocations: 187.2 kB / 0.7047 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.479, allocations: 139.5 kB / 0.7048 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.479, allocations: 12 kB / 0.7048 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.4808, allocations: 1.274 MB / 0.7061 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.673e-05/0.4809, allocations: 75.77 kB / 0.7061 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.4811, allocations: 99.59 kB / 0.7062 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.4823, allocations: 0.7384 MB / 0.707 GB, free: 9.562 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4823, allocations: 4 kB / 0.707 GB, free: 9.559 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4823, allocations: 4 kB / 0.707 GB, free: 9.555 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.4823, allocations: 3.938 kB / 0.707 GB, free: 9.551 MB / 0.545 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.001264/0.4836, allocations: 0.5811 MB / 0.7075 GB, free: 8.922 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4836, allocations: 8.031 kB / 0.7075 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.944e-05/0.4837, allocations: 62.66 kB / 0.7076 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.4854, allocations: 136.5 kB / 0.7077 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.4857, allocations: 219.8 kB / 0.7079 GB, free: 8.457 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.4857, allocations: 20.36 kB / 0.708 GB, free: 8.438 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.4858, allocations: 16 kB / 0.708 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000741/0.4866, allocations: 346 kB / 0.7083 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.4866, allocations: 0 / 0.7083 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.4866, allocations: 11.94 kB / 0.7083 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.56e-05/0.4867, allocations: 12 kB / 0.7083 GB, free: 8.039 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000678/0.4874, allocations: 321.2 kB / 0.7086 GB, free: 7.727 MB / 0.545 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.001704/0.4891, allocations: 1.113 MB / 0.7097 GB, free: 6.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.4896, allocations: 190.5 kB / 0.7099 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.4897, allocations: 80.75 kB / 0.71 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005219/0.4903, allocations: 461.5 kB / 0.7104 GB, free: 5.699 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.4903, allocations: 42.5 kB / 0.7105 GB, free: 5.648 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.4903, allocations: 0 / 0.7105 GB, free: 5.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.0006433/0.491, allocations: 262.7 kB / 0.7107 GB, free: 5.387 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.491, allocations: 51.41 kB / 0.7108 GB, free: 5.324 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.4912, allocations: 211 kB / 0.711 GB, free: 5.105 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.4913, allocations: 33.7 kB / 0.711 GB, free: 5.066 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.049e-05/0.4913, allocations: 140 kB / 0.7111 GB, free: 4.926 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.4914, allocations: 70.95 kB / 0.7112 GB, free: 4.855 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.374e-05/0.4915, allocations: 53.61 kB / 0.7112 GB, free: 4.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4916, allocations: 334.8 kB / 0.7116 GB, free: 4.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.4917, allocations: 72.23 kB / 0.7116 GB, free: 4.391 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.4919, allocations: 163.6 kB / 0.7118 GB, free: 4.191 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.4922, allocations: 252.6 kB / 0.712 GB, free: 3.906 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4922, allocations: 3.938 kB / 0.712 GB, free: 3.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005106/0.4928, allocations: 278.7 kB / 0.7123 GB, free: 3.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4928, allocations: 9.719 kB / 0.7123 GB, free: 3.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.4928, allocations: 4 kB / 0.7123 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.4928, allocations: 7.938 kB / 0.7123 GB, free: 3.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.4931, allocations: 59.91 kB / 0.7124 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4931, allocations: 4 kB / 0.7124 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.4933, allocations: 35.59 kB / 0.7124 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.4934, allocations: 11.94 kB / 0.7124 GB, free: 3.496 MB / 0.545 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.000118/0.4935, allocations: 141.9 kB / 0.7126 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.4936, allocations: 27.8 kB / 0.7126 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005029/0.4941, allocations: 280.1 kB / 0.7129 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.4942, allocations: 3.984 kB / 0.7129 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4942, allocations: 4 kB / 0.7129 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4942, allocations: 0 / 0.7129 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000921/0.4951, allocations: 0.5903 MB / 0.7134 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.4951, allocations: 3.984 kB / 0.7134 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.4954, allocations: 35.92 kB / 0.7135 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4954, allocations: 0 / 0.7135 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.4954, allocations: 4 kB / 0.7135 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4954, allocations: 0 / 0.7135 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.4955, allocations: 4 kB / 0.7135 GB, free: 2.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006877/0.4961, allocations: 362.6 kB / 0.7138 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.4963, allocations: 120.7 kB / 0.7139 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.4964, allocations: 8 kB / 0.714 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/0.4967, allocations: 11.98 kB / 0.714 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.4968, allocations: 11.98 kB / 0.714 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/0.4968, allocations: 19.98 kB / 0.714 GB, free: 1.781 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001498/0.497, allocations: 153.4 kB / 0.7141 GB, free: 1.633 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/0.497, allocations: 0 / 0.7141 GB, free: 1.633 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007117/0.4977, allocations: 112 kB / 0.7143 GB, free: 1.523 MB / 0.545 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.001361/0.4991, allocations: 0.9831 MB / 0.7152 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003817/0.4995, allocations: 226 kB / 0.7154 GB, free: 292 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4995, allocations: 0 / 0.7154 GB, free: 292 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.4996, allocations: 103.8 kB / 0.7155 GB, free: 188 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/0.5002, allocations: 97.52 kB / 0.7156 GB, free: 92 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.503, allocations: 2.551 MB / 0.7181 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.5033, allocations: 0.7406 MB / 0.7188 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003017/0.5036, allocations: 54.25 kB / 0.7189 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.5037, allocations: 55.42 kB / 0.7189 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.5037, allocations: 4 kB / 0.7189 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09398/0.5977, allocations: 7.566 MB / 0.7263 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/0.598, allocations: 187.7 kB / 0.7265 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.517, allocations: 0 / 0.7265 GB, free: 4.871 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_AirProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.AirProperties.pipe 2>&1)