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: translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 109.2 kB / 16.41 MB, free: 6.52 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.001988/0.001988, allocations: 185.2 kB / 17.34 MB, free: 5.73 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.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002534/0.002534, allocations: 295.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.04/1.04, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00385/0.00385, allocations: 91.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.4421, allocations: 86.98 MB / 0.767 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002337/0.4445, allocations: 1.327 MB / 0.7683 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.175/0.6194, allocations: 148.5 MB / 0.9134 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.6195, allocations: 0 / 0.9134 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 5.117e-05/0.6195, allocations: 3.984 kB / 0.9134 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.6196, allocations: 15.86 kB / 0.9134 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.000967/0.6206, allocations: 334.6 kB / 0.9137 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.6207, allocations: 67.75 kB / 0.9138 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.6208, allocations: 0 / 0.9138 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.678e-05/0.6208, allocations: 31.91 kB / 0.9138 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.6209, allocations: 35.89 kB / 0.9138 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.6209, allocations: 8 kB / 0.9138 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008083/0.6217, allocations: 414.5 kB / 0.9142 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.6218, allocations: 19.91 kB / 0.9142 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 5.111e-05/0.6218, allocations: 23.92 kB / 0.9143 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.6222, allocations: 158 kB / 0.9144 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6222, allocations: 0 / 0.9144 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6222, allocations: 3.938 kB / 0.9144 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.6222, allocations: 0 / 0.9144 GB, free: 12.54 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.0005325/0.6227, allocations: 395.1 kB / 0.9148 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.6227, allocations: 11.97 kB / 0.9148 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004148/0.6232, allocations: 36.86 kB / 0.9148 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.6233, allocations: 172.3 kB / 0.915 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.6233, allocations: 11.88 kB / 0.915 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.6234, allocations: 8 kB / 0.915 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.6235, allocations: 73.66 kB / 0.9151 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.6235, allocations: 0 / 0.9151 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.6235, allocations: 4 kB / 0.9151 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.6236, allocations: 4 kB / 0.9151 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.614e-05/0.6236, allocations: 51.89 kB / 0.9152 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.6239, allocations: 185.5 kB / 0.9153 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.624, allocations: 90.59 kB / 0.9154 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.452e-05/0.6241, allocations: 28.92 kB / 0.9154 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/0.6244, allocations: 182.2 kB / 0.9156 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.6244, allocations: 34.5 kB / 0.9157 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.6244, allocations: 336 / 0.9157 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001422/0.6258, allocations: 0.5424 MB / 0.9162 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.6259, allocations: 59.39 kB / 0.9162 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.626, allocations: 97.8 kB / 0.9163 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.626, allocations: 37.64 kB / 0.9164 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.626, allocations: 80.52 kB / 0.9164 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.681e-05/0.6261, allocations: 75.36 kB / 0.9165 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.6262, allocations: 37.84 kB / 0.9166 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.6263, allocations: 326.8 kB / 0.9169 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.481e-05/0.6264, allocations: 31.98 kB / 0.9169 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.6265, allocations: 73.78 kB / 0.917 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.6266, allocations: 111.4 kB / 0.9171 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.6266, allocations: 4 kB / 0.9171 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002375/0.6269, allocations: 161.5 kB / 0.9172 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.6269, allocations: 4 kB / 0.9172 GB, free: 9.332 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.6269, allocations: 3.984 kB / 0.9172 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.6269, allocations: 4 kB / 0.9172 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.6271, allocations: 39.92 kB / 0.9173 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.6271, allocations: 0 / 0.9173 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.58e-05/0.6272, allocations: 11.94 kB / 0.9173 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.6272, allocations: 8 kB / 0.9173 GB, free: 9.266 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.0001069/0.6273, allocations: 117.3 kB / 0.9174 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.6273, allocations: 11.95 kB / 0.9174 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.6274, allocations: 24.42 kB / 0.9174 GB, free: 9.113 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6274, allocations: 7.875 kB / 0.9175 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6274, allocations: 128 / 0.9175 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.6274, allocations: 3.938 kB / 0.9175 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.6276, allocations: 197.6 kB / 0.9176 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6276, allocations: 0 / 0.9176 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.6278, allocations: 35.98 kB / 0.9177 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6278, allocations: 0 / 0.9177 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.6278, allocations: 4 kB / 0.9177 GB, free: 8.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6278, allocations: 4 kB / 0.9177 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6278, allocations: 4 kB / 0.9177 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.6281, allocations: 215.1 kB / 0.9179 GB, free: 8.586 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.914e-05/0.6282, allocations: 89.05 kB / 0.918 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.6282, allocations: 4.062 kB / 0.918 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.6284, allocations: 8 kB / 0.918 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.6284, allocations: 19.91 kB / 0.918 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.6284, allocations: 4 kB / 0.918 GB, free: 8.445 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.426e-05/0.6285, allocations: 87.22 kB / 0.9181 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.6285, allocations: 0 / 0.9181 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002283/0.6287, allocations: 28 kB / 0.9181 GB, free: 8.332 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.0001552/0.6288, allocations: 103.2 kB / 0.9182 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.629, allocations: 100.1 kB / 0.9183 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6291, allocations: 4.094 kB / 0.9183 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 7.592e-05/0.6291, allocations: 51.91 kB / 0.9184 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.6294, allocations: 20.38 kB / 0.9184 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008639/0.6303, allocations: 0.5047 MB / 0.9189 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.6306, allocations: 0.7047 MB / 0.9196 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 9.996e-05/0.6307, allocations: 20.62 kB / 0.9196 GB, free: 6.77 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.6308, allocations: 15.44 kB / 0.9196 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of SimCode: time 3.1e-07/0.6308, allocations: 0 / 0.9196 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of Templates: time 0.00408/0.6349, allocations: 1.153 MB / 0.9207 GB, free: 5.605 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile (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 & ./BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)