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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 179 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5432/0.5432, allocations: 90.92 MB / 99.35 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 221.5 MB / 343.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008797/0.0008797, allocations: 91.95 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.504e-05/1.507e-05, allocations: 0 / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.135, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.049/4.185, allocations: 1.874 GB / 2.428 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/4.185, allocations: 71.95 kB / 2.428 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.09075/4.276, allocations: 47.36 MB / 2.474 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/4.276, allocations: 0 / 2.474 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.274e-05/4.276, allocations: 4 kB / 2.474 GB, free: 10.42 MB / 0.6042 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.001096/4.277, allocations: 0.553 MB / 2.475 GB, free: 9.816 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/4.277, allocations: 12.03 kB / 2.475 GB, free: 9.805 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/4.278, allocations: 131.7 kB / 2.475 GB, free: 9.676 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/4.278, allocations: 226.7 kB / 2.475 GB, free: 9.414 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/4.278, allocations: 8 kB / 2.475 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/4.279, allocations: 12 kB / 2.475 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005153/4.279, allocations: 316.6 kB / 2.475 GB, free: 9.082 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/4.279, allocations: 293.4 kB / 2.476 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/4.279, allocations: 0 / 2.476 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/4.28, allocations: 4 kB / 2.476 GB, free: 8.773 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/4.28, allocations: 8 kB / 2.476 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/4.281, allocations: 1.109 MB / 2.477 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/4.281, allocations: 172.6 kB / 2.477 GB, free: 7.387 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/4.281, allocations: 77.02 kB / 2.477 GB, free: 7.309 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003456/4.282, allocations: 360.4 kB / 2.477 GB, free: 6.883 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/4.282, allocations: 34.56 kB / 2.477 GB, free: 6.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=21): time 1.744e-06/4.282, allocations: 0 / 2.477 GB, free: 6.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.0004481/4.282, allocations: 179.9 kB / 2.477 GB, free: 6.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/4.282, allocations: 59.41 kB / 2.478 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/4.282, allocations: 140 kB / 2.478 GB, free: 6.445 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/4.282, allocations: 25.7 kB / 2.478 GB, free: 6.414 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/4.283, allocations: 156 kB / 2.478 GB, free: 6.258 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-05/4.283, allocations: 66.95 kB / 2.478 GB, free: 6.191 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/4.283, allocations: 0 / 2.478 GB, free: 6.191 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.362e-05/4.283, allocations: 326.8 kB / 2.478 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-05/4.283, allocations: 64.23 kB / 2.478 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/4.283, allocations: 147.7 kB / 2.478 GB, free: 5.617 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/4.283, allocations: 91.25 kB / 2.479 GB, free: 5.531 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/4.283, allocations: 0 / 2.479 GB, free: 5.531 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003959/4.284, allocations: 249.3 kB / 2.479 GB, free: 5.281 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/4.284, allocations: 9.25 kB / 2.479 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/4.284, allocations: 4.094 kB / 2.479 GB, free: 5.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/4.284, allocations: 11.94 kB / 2.479 GB, free: 5.258 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/4.284, allocations: 55.92 kB / 2.479 GB, free: 5.203 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/4.284, allocations: 7.953 kB / 2.479 GB, free: 5.195 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/4.284, allocations: 23.73 kB / 2.479 GB, free: 5.172 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/4.284, allocations: 8 kB / 2.479 GB, free: 5.164 MB / 0.6042 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 () * 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 9.21e-05/4.284, allocations: 117 kB / 2.479 GB, free: 5.043 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003005/4.285, allocations: 180 kB / 2.479 GB, free: 4.863 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/4.285, allocations: 15.81 kB / 2.479 GB, free: 4.848 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/4.285, allocations: 202.2 kB / 2.479 GB, free: 4.648 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/4.285, allocations: 11.94 kB / 2.479 GB, free: 4.637 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/4.285, allocations: 0 / 2.479 GB, free: 4.637 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/4.285, allocations: 0 / 2.479 GB, free: 4.637 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000542/4.286, allocations: 496.5 kB / 2.48 GB, free: 4.102 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/4.286, allocations: 0 / 2.48 GB, free: 4.102 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/4.286, allocations: 35.97 kB / 2.48 GB, free: 4.066 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/4.286, allocations: 0 / 2.48 GB, free: 4.066 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/4.286, allocations: 3.938 kB / 2.48 GB, free: 4.062 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/4.286, allocations: 7.938 kB / 2.48 GB, free: 4.055 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/4.286, allocations: 0 / 2.48 GB, free: 4.055 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/4.286, allocations: 316.4 kB / 2.48 GB, free: 3.711 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/4.286, allocations: 112.8 kB / 2.48 GB, free: 3.582 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/4.286, allocations: 4 kB / 2.48 GB, free: 3.578 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/4.287, allocations: 19.94 kB / 2.48 GB, free: 3.559 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/4.287, allocations: 15.98 kB / 2.48 GB, free: 3.543 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/4.287, allocations: 11.98 kB / 2.48 GB, free: 3.531 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.091e-05/4.287, allocations: 125.4 kB / 2.48 GB, free: 3.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/4.287, allocations: 0 / 2.48 GB, free: 3.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006123/4.287, allocations: 143.8 kB / 2.481 GB, free: 3.27 MB / 0.6042 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.001421/4.289, allocations: 1.591 MB / 2.482 GB, free: 1.641 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002777/4.289, allocations: 174.4 kB / 2.482 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/4.289, allocations: 0 / 2.482 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.885e-05/4.289, allocations: 76.66 kB / 2.482 GB, free: 1.398 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/4.29, allocations: 52.06 kB / 2.482 GB, free: 1.348 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007337/4.29, allocations: 308.6 kB / 2.483 GB, free: 1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/4.29, allocations: 0.7365 MB / 2.483 GB, free: 244 kB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000288/4.291, allocations: 49.81 kB / 2.484 GB, free: 196 kB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.874e-05/4.291, allocations: 51.42 kB / 2.484 GB, free: 144 kB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/4.291, allocations: 0 / 2.484 GB, free: 144 kB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3735/4.664, allocations: 9.54 MB / 2.493 GB, free: 202.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/4.665, allocations: 120.7 kB / 2.493 GB, free: 202.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/6.537, allocations: 0 / 2.493 GB, free: 202.8 MB / 0.6042 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/linux/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)