Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7498/0.7498, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 187.1 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 221.3 MB / 441.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009339/0.0009338, allocations: 95.78 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001922/0.001923, allocations: 276 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.127e-05, allocations: 8 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4556, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.915/4.37, allocations: 1.705 GB / 2.469 GB, free: 74.08 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/4.371, allocations: 80.5 kB / 2.469 GB, free: 74.01 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05411/4.425, allocations: 29.72 MB / 2.498 GB, free: 44.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/4.425, allocations: 0 / 2.498 GB, free: 44.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.871e-06/4.425, allocations: 0 / 2.498 GB, free: 44.05 MB / 0.698 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.000346/4.425, allocations: 374.4 kB / 2.498 GB, free: 43.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/4.425, allocations: 8.031 kB / 2.498 GB, free: 43.64 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/4.425, allocations: 38.56 kB / 2.499 GB, free: 43.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/4.426, allocations: 39.81 kB / 2.499 GB, free: 43.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.305e-05/4.426, allocations: 175 kB / 2.499 GB, free: 43.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/4.426, allocations: 4 kB / 2.499 GB, free: 43.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/4.426, allocations: 11.94 kB / 2.499 GB, free: 43.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/4.426, allocations: 77.59 kB / 2.499 GB, free: 43.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/4.426, allocations: 0 / 2.499 GB, free: 43.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/4.426, allocations: 4 kB / 2.499 GB, free: 43.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/4.426, allocations: 0 / 2.499 GB, free: 43.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.631e-05/4.426, allocations: 39.97 kB / 2.499 GB, free: 43.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/4.426, allocations: 189.5 kB / 2.499 GB, free: 42.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/4.426, allocations: 82.56 kB / 2.499 GB, free: 42.88 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.187e-05/4.426, allocations: 32.94 kB / 2.499 GB, free: 42.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/4.427, allocations: 182.2 kB / 2.499 GB, free: 42.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/4.427, allocations: 42.56 kB / 2.499 GB, free: 42.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/4.427, allocations: 0 / 2.499 GB, free: 42.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001069/4.428, allocations: 0.5072 MB / 2.5 GB, free: 42.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/4.428, allocations: 55.41 kB / 2.5 GB, free: 41.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.387e-05/4.428, allocations: 93 kB / 2.5 GB, free: 41.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/4.428, allocations: 29.7 kB / 2.5 GB, free: 41.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.7e-05/4.428, allocations: 84.52 kB / 2.5 GB, free: 41.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/4.428, allocations: 70.98 kB / 2.5 GB, free: 41.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/4.428, allocations: 4 kB / 2.5 GB, free: 41.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.482e-05/4.428, allocations: 322.8 kB / 2.5 GB, free: 41.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.953e-05/4.428, allocations: 31.98 kB / 2.501 GB, free: 41.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/4.428, allocations: 69.98 kB / 2.501 GB, free: 41.22 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.307e-05/4.428, allocations: 46.17 kB / 2.501 GB, free: 41.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/4.428, allocations: 0 / 2.501 GB, free: 41.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001735/4.428, allocations: 153.4 kB / 2.501 GB, free: 41.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/4.428, allocations: 4 kB / 2.501 GB, free: 41.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/4.428, allocations: 5.562 kB / 2.501 GB, free: 41.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/4.428, allocations: 3.938 kB / 2.501 GB, free: 41.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/4.429, allocations: 39.92 kB / 2.501 GB, free: 40.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/4.429, allocations: 8 kB / 2.501 GB, free: 40.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/4.429, allocations: 4 kB / 2.501 GB, free: 40.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/4.429, allocations: 4 kB / 2.501 GB, free: 40.95 MB / 0.698 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 () * 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 5.504e-05/4.429, allocations: 120.9 kB / 2.501 GB, free: 40.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/4.429, allocations: 11.89 kB / 2.501 GB, free: 40.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/4.429, allocations: 20.22 kB / 2.501 GB, free: 40.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/4.429, allocations: 0 / 2.501 GB, free: 40.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/4.429, allocations: 0 / 2.501 GB, free: 40.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/4.429, allocations: 3.938 kB / 2.501 GB, free: 40.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/4.429, allocations: 201.6 kB / 2.501 GB, free: 40.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/4.429, allocations: 0 / 2.501 GB, free: 40.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/4.429, allocations: 35.98 kB / 2.501 GB, free: 40.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/4.429, allocations: 0 / 2.501 GB, free: 40.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/4.429, allocations: 11.94 kB / 2.501 GB, free: 40.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/4.429, allocations: 128 / 2.501 GB, free: 40.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/4.429, allocations: 4 kB / 2.501 GB, free: 40.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/4.429, allocations: 206.2 kB / 2.501 GB, free: 40.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/4.429, allocations: 89 kB / 2.502 GB, free: 40.17 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/4.429, allocations: 12.06 kB / 2.502 GB, free: 40.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/4.43, allocations: 11.98 kB / 2.502 GB, free: 40.15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/4.43, allocations: 7.984 kB / 2.502 GB, free: 40.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/4.43, allocations: 8 kB / 2.502 GB, free: 40.13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.219e-05/4.43, allocations: 79.28 kB / 2.502 GB, free: 40.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/4.43, allocations: 0 / 2.502 GB, free: 40.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003588/4.43, allocations: 59.98 kB / 2.502 GB, free: 40 MB / 0.698 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 () * 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.0008842/4.431, allocations: 1.192 MB / 2.503 GB, free: 38.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000172/4.431, allocations: 96.95 kB / 2.503 GB, free: 38.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/4.431, allocations: 0 / 2.503 GB, free: 38.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.555e-05/4.431, allocations: 55.88 kB / 2.503 GB, free: 38.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/4.431, allocations: 17.72 kB / 2.503 GB, free: 38.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007018/4.432, allocations: 0.5079 MB / 2.504 GB, free: 38.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/4.432, allocations: 0.705 MB / 2.504 GB, free: 37.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001244/4.432, allocations: 28.73 kB / 2.504 GB, free: 37.31 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/4.432, allocations: 19.44 kB / 2.504 GB, free: 37.29 MB / 0.698 GB Notification: Performance of SimCode: time 5.92e-07/4.432, allocations: 0 / 2.504 GB, free: 37.29 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/4.457, allocations: 12.87 MB / 2.517 GB, free: 24.54 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/4.457, allocations: 154.3 kB / 2.517 GB, free: 24.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/6.448, allocations: 0 / 2.517 GB, free: 24.32 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)