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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004428/0.004428, allocations: 99.61 kB / 15.73 MB, free: 6.031 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.001226/0.001226, allocations: 193.8 kB / 16.67 MB, free: 5.953 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002649/0.002649, allocations: 297.5 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 169.2 MB / 0.4983 GB, free: 4.395 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 91.86 kB / 0.6809 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3875, allocations: 86.99 MB / 0.7659 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002227/0.3898, allocations: 1.33 MB / 0.7672 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1642/0.554, allocations: 148.1 MB / 0.9118 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.5541, allocations: 0 / 0.9118 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.5541, allocations: 7.922 kB / 0.9118 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 8.892e-05/0.5542, allocations: 7.938 kB / 0.9118 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.000898/0.5551, allocations: 330.6 kB / 0.9121 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.5553, allocations: 67.75 kB / 0.9122 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.442e-05/0.5553, allocations: 4 kB / 0.9122 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.5553, allocations: 31.91 kB / 0.9122 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 9.028e-05/0.5554, allocations: 35.89 kB / 0.9123 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.5555, allocations: 4 kB / 0.9123 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007757/0.5562, allocations: 410.5 kB / 0.9127 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.5563, allocations: 19.91 kB / 0.9127 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.5564, allocations: 23.92 kB / 0.9127 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.5567, allocations: 157 kB / 0.9129 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5567, allocations: 3.938 kB / 0.9129 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5567, allocations: 0 / 0.9129 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.5567, allocations: 0 / 0.9129 GB, free: 12.89 MB / 0.6856 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.0004744/0.5572, allocations: 395.1 kB / 0.9132 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.5572, allocations: 8.031 kB / 0.9132 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.5573, allocations: 42.73 kB / 0.9133 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003913/0.5577, allocations: 36.84 kB / 0.9133 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.5578, allocations: 180 kB / 0.9135 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.5578, allocations: 4 kB / 0.9135 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.5579, allocations: 8 kB / 0.9135 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.558, allocations: 85.52 kB / 0.9136 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.558, allocations: 4 kB / 0.9136 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.5581, allocations: 0 / 0.9136 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.5581, allocations: 8 kB / 0.9136 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.698e-05/0.5582, allocations: 43.95 kB / 0.9136 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.5584, allocations: 185.5 kB / 0.9138 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.5586, allocations: 94.61 kB / 0.9139 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.5587, allocations: 36.84 kB / 0.9139 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/0.5589, allocations: 174.2 kB / 0.9141 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.559, allocations: 34.56 kB / 0.9141 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.559, allocations: 0 / 0.9141 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001307/0.5603, allocations: 0.5472 MB / 0.9147 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.5603, allocations: 55.41 kB / 0.9147 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.298e-05/0.5604, allocations: 97.8 kB / 0.9148 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.5604, allocations: 33.7 kB / 0.9148 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.5605, allocations: 80.52 kB / 0.9149 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/0.5606, allocations: 83.42 kB / 0.915 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.646e-05/0.5606, allocations: 45.7 kB / 0.915 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5608, allocations: 310.8 kB / 0.9153 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.036e-05/0.5608, allocations: 39.97 kB / 0.9154 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.083e-05/0.5609, allocations: 67.41 kB / 0.9154 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.5611, allocations: 111.4 kB / 0.9156 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5611, allocations: 4 kB / 0.9156 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002425/0.5614, allocations: 165.5 kB / 0.9157 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.5614, allocations: 4 kB / 0.9157 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5614, allocations: 4 kB / 0.9157 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.5614, allocations: 0 / 0.9157 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.5616, allocations: 35.98 kB / 0.9158 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.5616, allocations: 7.875 kB / 0.9158 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.467e-05/0.5617, allocations: 8 kB / 0.9158 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.5617, allocations: 4 kB / 0.9158 GB, free: 9.559 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.5618, allocations: 125.8 kB / 0.9159 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.5618, allocations: 16.02 kB / 0.9159 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.235e-05/0.5619, allocations: 16.44 kB / 0.9159 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5619, allocations: 4 kB / 0.9159 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5619, allocations: 3.938 kB / 0.9159 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5619, allocations: 0 / 0.9159 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.5621, allocations: 193.6 kB / 0.9161 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5621, allocations: 0 / 0.9161 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.5623, allocations: 43.91 kB / 0.9162 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5623, allocations: 0 / 0.9162 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.5623, allocations: 12 kB / 0.9162 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5624, allocations: 0 / 0.9162 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5624, allocations: 3.938 kB / 0.9162 GB, free: 9.094 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.5627, allocations: 203.5 kB / 0.9164 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.348e-05/0.5628, allocations: 97.11 kB / 0.9165 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.5628, allocations: 3.984 kB / 0.9165 GB, free: 8.762 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.5629, allocations: 8 kB / 0.9165 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.563, allocations: 15.92 kB / 0.9165 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.563, allocations: 8 kB / 0.9165 GB, free: 8.73 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4e-05/0.563, allocations: 79.28 kB / 0.9166 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.923e-06/0.5631, allocations: 0 / 0.9166 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003105/0.5634, allocations: 27.94 kB / 0.9166 GB, free: 8.625 MB / 0.6856 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 (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.000624/0.564, allocations: 0.7549 MB / 0.9173 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002028/0.5642, allocations: 104 kB / 0.9174 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5642, allocations: 0 / 0.9174 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 8.159e-05/0.5643, allocations: 59.91 kB / 0.9175 GB, free: 7.68 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.5646, allocations: 16.84 kB / 0.9175 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.5666, allocations: 1.831 MB / 0.9193 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.5669, allocations: 0.6969 MB / 0.92 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.567, allocations: 24.62 kB / 0.92 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.5671, allocations: 23.44 kB / 0.92 GB, free: 4.969 MB / 0.6856 GB Notification: Performance of SimCode: time 3.41e-07/0.5671, allocations: 0 / 0.92 GB, free: 4.969 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.5909, allocations: 2.441 MB / 0.9224 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.726/8.317, allocations: 19.56 kB / 0.9224 GB, free: 2.602 MB / 0.6856 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/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)