Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.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.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",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.001428/0.001428, allocations: 183.6 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5747/0.5747, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 223.1 MB / 354.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 95.2 kB / 427.4 MB, free: 3.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003844, allocations: 12 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1799, allocations: 72.3 MB / 0.5689 GB, free: 1.824 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.947/5.127, allocations: 1.698 GB / 2.267 GB, free: 204.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/5.127, allocations: 71.97 kB / 2.267 GB, free: 204.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.05749/5.185, allocations: 29.77 MB / 2.296 GB, free: 174.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/5.185, allocations: 0 / 2.296 GB, free: 174.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.164e-06/5.185, allocations: 8 kB / 2.296 GB, free: 174.4 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004712/5.185, allocations: 379.8 kB / 2.296 GB, free: 173.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/5.185, allocations: 12.03 kB / 2.296 GB, free: 173.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/5.185, allocations: 38.5 kB / 2.296 GB, free: 173.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004068/5.186, allocations: 43.86 kB / 2.296 GB, free: 173.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.869e-05/5.186, allocations: 163 kB / 2.296 GB, free: 173.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/5.186, allocations: 8 kB / 2.296 GB, free: 173.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/5.186, allocations: 12 kB / 2.296 GB, free: 173.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/5.186, allocations: 77.59 kB / 2.297 GB, free: 173.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/5.186, allocations: 0 / 2.297 GB, free: 173.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/5.186, allocations: 7.984 kB / 2.297 GB, free: 173.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/5.186, allocations: 0 / 2.297 GB, free: 173.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.488e-05/5.186, allocations: 43.91 kB / 2.297 GB, free: 173.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/5.186, allocations: 185.6 kB / 2.297 GB, free: 173.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/5.186, allocations: 82.61 kB / 2.297 GB, free: 173.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/5.187, allocations: 182.3 kB / 2.297 GB, free: 172.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/5.187, allocations: 30.56 kB / 2.297 GB, free: 172.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/5.187, allocations: 3.938 kB / 2.297 GB, free: 172.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001238/5.188, allocations: 0.5482 MB / 2.298 GB, free: 172.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/5.188, allocations: 51.41 kB / 2.298 GB, free: 172.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.224e-05/5.188, allocations: 93 kB / 2.298 GB, free: 172.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/5.188, allocations: 33.7 kB / 2.298 GB, free: 172.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.71e-05/5.188, allocations: 80.64 kB / 2.298 GB, free: 172 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.966e-05/5.188, allocations: 78.89 kB / 2.298 GB, free: 171.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-06/5.188, allocations: 4 kB / 2.298 GB, free: 171.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.108e-05/5.188, allocations: 318.8 kB / 2.298 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/5.188, allocations: 31.98 kB / 2.298 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.925e-05/5.188, allocations: 75.34 kB / 2.298 GB, free: 171.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.853e-05/5.189, allocations: 47.97 kB / 2.298 GB, free: 171.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/5.189, allocations: 4 kB / 2.298 GB, free: 171.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001895/5.189, allocations: 149.5 kB / 2.299 GB, free: 171.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/5.189, allocations: 7.938 kB / 2.299 GB, free: 171.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/5.189, allocations: 3.953 kB / 2.299 GB, free: 171.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/5.189, allocations: 7.984 kB / 2.299 GB, free: 171.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/5.189, allocations: 43.92 kB / 2.299 GB, free: 171.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/5.189, allocations: 0 / 2.299 GB, free: 171.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/5.189, allocations: 4 kB / 2.299 GB, free: 171.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/5.189, allocations: 8 kB / 2.299 GB, free: 171.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 8.738e-05/5.189, allocations: 121.8 kB / 2.299 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/5.189, allocations: 8 kB / 2.299 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/5.189, allocations: 16.44 kB / 2.299 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/5.189, allocations: 3.953 kB / 2.299 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/5.189, allocations: 0 / 2.299 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/5.189, allocations: 3.984 kB / 2.299 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/5.189, allocations: 193.6 kB / 2.299 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/5.189, allocations: 4.062 kB / 2.299 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/5.19, allocations: 39.98 kB / 2.299 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/5.19, allocations: 0 / 2.299 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/5.19, allocations: 4 kB / 2.299 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/5.19, allocations: 15.89 kB / 2.299 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/5.19, allocations: 0 / 2.299 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/5.19, allocations: 211.2 kB / 2.299 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/5.19, allocations: 89 kB / 2.299 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/5.19, allocations: 4.062 kB / 2.299 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/5.19, allocations: 4 kB / 2.299 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/5.19, allocations: 19.94 kB / 2.299 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/5.19, allocations: 8 kB / 2.299 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.442e-05/5.19, allocations: 79.27 kB / 2.299 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/5.19, allocations: 0 / 2.299 GB, free: 170.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003657/5.191, allocations: 64 kB / 2.299 GB, free: 170.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001022/5.192, allocations: 1.192 MB / 2.301 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001907/5.192, allocations: 113.5 kB / 2.301 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/5.192, allocations: 0 / 2.301 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.84e-05/5.192, allocations: 51.86 kB / 2.301 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/5.192, allocations: 15.98 kB / 2.301 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/5.193, allocations: 1.459 MB / 2.302 GB, free: 167.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/5.194, allocations: 0.7011 MB / 2.303 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001259/5.194, allocations: 24.62 kB / 2.303 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.092e-05/5.194, allocations: 23.44 kB / 2.303 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/5.194, allocations: 4 kB / 2.303 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/5.217, allocations: 11.12 MB / 2.314 GB, free: 155.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/5.218, allocations: 165.4 kB / 2.314 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/7.334, allocations: 0 / 2.314 GB, free: 155.3 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)