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.001082/0.001082, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001146/0.001146, allocations: 199.2 kB / 16.14 MB, free: 6.664 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.314/1.314, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 279.1 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.933/0.933, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 91.3 kB / 0.5945 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1567, allocations: 86.98 MB / 0.6794 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002349/0.1591, allocations: 1.398 MB / 0.6808 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4644/0.6234, allocations: 145.8 MB / 0.8232 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.067e-05/0.6235, allocations: 1.094 kB / 0.8232 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.431e-05/0.6236, allocations: 2.344 kB / 0.8232 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.38e-05/0.6237, allocations: 11.45 kB / 0.8232 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008061/0.6245, allocations: 298.2 kB / 0.8235 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.901e-05/0.6246, allocations: 90.39 kB / 0.8235 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.321e-05/0.6247, allocations: 3.438 kB / 0.8235 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.008e-05/0.6247, allocations: 33.97 kB / 0.8236 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.394e-05/0.6248, allocations: 30.8 kB / 0.8236 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.6248, allocations: 3 kB / 0.8236 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009749/0.6258, allocations: 0.4889 MB / 0.8241 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.09e-05/0.6259, allocations: 19.69 kB / 0.8241 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.522e-05/0.6259, allocations: 31.7 kB / 0.8241 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.6263, allocations: 186 kB / 0.8243 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6263, allocations: 0.5625 kB / 0.8243 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6264, allocations: 0 / 0.8243 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.6264, allocations: 0.5938 kB / 0.8243 GB, free: 0.9961 MB / 0.5606 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.000521/0.6269, allocations: 393.5 kB / 0.8247 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.627, allocations: 9.125 kB / 0.8247 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004379/0.6274, allocations: 36.14 kB / 0.8247 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.6275, allocations: 170.4 kB / 0.8249 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.6276, allocations: 13.92 kB / 0.8249 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.6276, allocations: 14.12 kB / 0.8249 GB, free: 16.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.6278, allocations: 75.31 kB / 0.825 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.6278, allocations: 0 / 0.825 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.6278, allocations: 4.781 kB / 0.825 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.6279, allocations: 1.531 kB / 0.825 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.628, allocations: 44.48 kB / 0.825 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.6282, allocations: 184.9 kB / 0.8252 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.6284, allocations: 98.75 kB / 0.8253 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.325e-05/0.6284, allocations: 31.8 kB / 0.8253 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.6287, allocations: 180.4 kB / 0.8255 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.6287, allocations: 36.16 kB / 0.8256 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.6287, allocations: 0.5625 kB / 0.8256 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.00134/0.6301, allocations: 0.548 MB / 0.8261 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.6301, allocations: 53.62 kB / 0.8261 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.294e-05/0.6302, allocations: 103.3 kB / 0.8262 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.6303, allocations: 30.08 kB / 0.8263 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.6303, allocations: 81.73 kB / 0.8263 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.613e-05/0.6304, allocations: 65.72 kB / 0.8264 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.6304, allocations: 36.56 kB / 0.8264 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6305, allocations: 325.4 kB / 0.8268 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.6306, allocations: 35.14 kB / 0.8268 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-05/0.6307, allocations: 73.7 kB / 0.8269 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.6309, allocations: 118.6 kB / 0.827 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.6309, allocations: 0 / 0.827 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002385/0.6312, allocations: 163.4 kB / 0.8271 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.6312, allocations: 5.5 kB / 0.8271 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.6312, allocations: 1.125 kB / 0.8271 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.6312, allocations: 2.156 kB / 0.8271 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.6314, allocations: 40.53 kB / 0.8272 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.6314, allocations: 1.938 kB / 0.8272 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.711e-05/0.6315, allocations: 9.688 kB / 0.8272 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.6315, allocations: 4.719 kB / 0.8272 GB, free: 14.85 MB / 0.5762 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 9.96e-05/0.6316, allocations: 125.4 kB / 0.8273 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.6316, allocations: 12.75 kB / 0.8273 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.6317, allocations: 14.62 kB / 0.8273 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.6317, allocations: 7.219 kB / 0.8273 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.6317, allocations: 0 / 0.8273 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.6317, allocations: 10.52 kB / 0.8274 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.6319, allocations: 191.4 kB / 0.8275 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6319, allocations: 1.156 kB / 0.8275 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.6321, allocations: 40.31 kB / 0.8276 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.6321, allocations: 3.719 kB / 0.8276 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.6321, allocations: 1.25 kB / 0.8276 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.6321, allocations: 1.25 kB / 0.8276 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6321, allocations: 0 / 0.8276 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.6324, allocations: 210.3 kB / 0.8278 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.6325, allocations: 92.86 kB / 0.8279 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.6325, allocations: 7.875 kB / 0.8279 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.6327, allocations: 8.797 kB / 0.8279 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.6327, allocations: 12.72 kB / 0.8279 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.6327, allocations: 13.86 kB / 0.8279 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.333e-05/0.6328, allocations: 78.06 kB / 0.828 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6328, allocations: 0 / 0.828 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002247/0.633, allocations: 28.06 kB / 0.828 GB, free: 14.27 MB / 0.5762 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.00014/0.6331, allocations: 111.8 kB / 0.8281 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.6333, allocations: 102.7 kB / 0.8282 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6333, allocations: 1.156 kB / 0.8282 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.603e-05/0.6334, allocations: 55.33 kB / 0.8283 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.6337, allocations: 17.06 kB / 0.8283 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007731/0.6345, allocations: 0.5495 MB / 0.8288 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.6348, allocations: 0.6993 MB / 0.8295 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000134/0.6349, allocations: 23.09 kB / 0.8295 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.635, allocations: 15.53 kB / 0.8295 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.635, allocations: 0 / 0.8295 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of Templates: time 0.0034/0.6384, allocations: 1.072 MB / 0.8306 GB, free: 12.96 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1)