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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 80.05 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 159.4 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.352/1.352, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00238/0.00238, allocations: 236.8 kB / 260 MB, free: 432 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8802/0.8802, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00288/0.00288, allocations: 96.17 kB / 0.6473 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4208, allocations: 95.33 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002056/0.4228, allocations: 1.345 MB / 0.7417 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1551/0.578, allocations: 130.1 MB / 0.8687 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.578, allocations: 0 / 0.8687 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 4.755e-05/0.5781, allocations: 7.922 kB / 0.8688 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.5782, allocations: 15.92 kB / 0.8688 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009507/0.5791, allocations: 322.7 kB / 0.8691 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.5792, allocations: 59.78 kB / 0.8691 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.5793, allocations: 15.97 kB / 0.8691 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.629e-05/0.5793, allocations: 27.92 kB / 0.8692 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 9.512e-05/0.5794, allocations: 31.89 kB / 0.8692 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.5794, allocations: 0 / 0.8692 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007553/0.5802, allocations: 366.8 kB / 0.8696 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.5802, allocations: 27.91 kB / 0.8696 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.5803, allocations: 23.92 kB / 0.8696 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.5806, allocations: 164 kB / 0.8698 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5806, allocations: 0 / 0.8698 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5806, allocations: 0 / 0.8698 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.5806, allocations: 0 / 0.8698 GB, free: 14.03 MB / 0.7012 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.0004429/0.581, allocations: 310 kB / 0.8701 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.5811, allocations: 13.33 kB / 0.8701 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003894/0.5815, allocations: 36.91 kB / 0.8701 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.508e-05/0.5816, allocations: 106.5 kB / 0.8702 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.5816, allocations: 11.94 kB / 0.8702 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.5816, allocations: 11.95 kB / 0.8702 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.5818, allocations: 214 kB / 0.8704 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.5819, allocations: 0 / 0.8704 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.5819, allocations: 4 kB / 0.8704 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.5819, allocations: 0 / 0.8704 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.886e-05/0.582, allocations: 47.95 kB / 0.8705 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.5821, allocations: 125.2 kB / 0.8706 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.5823, allocations: 98.5 kB / 0.8707 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.5824, allocations: 28.84 kB / 0.8707 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.5825, allocations: 23.98 kB / 0.8707 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.5826, allocations: 34.56 kB / 0.8708 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=12): time 1.093e-06/0.5826, allocations: 0 / 0.8708 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.001258/0.5838, allocations: 483 kB / 0.8712 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.5839, allocations: 55.41 kB / 0.8713 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.996e-05/0.5839, allocations: 89.86 kB / 0.8714 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.584, allocations: 33.7 kB / 0.8714 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.584, allocations: 84.45 kB / 0.8715 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.094e-05/0.5841, allocations: 79.31 kB / 0.8716 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.5841, allocations: 33.72 kB / 0.8716 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5843, allocations: 326.8 kB / 0.8719 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.441e-05/0.5843, allocations: 39.91 kB / 0.8719 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-05/0.5844, allocations: 76.14 kB / 0.872 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.5846, allocations: 119.3 kB / 0.8721 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5846, allocations: 0 / 0.8721 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000229/0.5848, allocations: 157.5 kB / 0.8723 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5848, allocations: 11.94 kB / 0.8723 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.5848, allocations: 0 / 0.8723 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.5848, allocations: 0 / 0.8723 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.5851, allocations: 43.92 kB / 0.8723 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.5851, allocations: 4 kB / 0.8723 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.5852, allocations: 0 / 0.8723 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.5852, allocations: 11.94 kB / 0.8724 GB, free: 11.12 MB / 0.7012 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.0001293/0.5853, allocations: 129.8 kB / 0.8725 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.5853, allocations: 11.94 kB / 0.8725 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.5854, allocations: 16.47 kB / 0.8725 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.5854, allocations: 4 kB / 0.8725 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5854, allocations: 0 / 0.8725 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5854, allocations: 0 / 0.8725 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.5856, allocations: 129.2 kB / 0.8726 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5856, allocations: 0 / 0.8726 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.5858, allocations: 39.98 kB / 0.8727 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5858, allocations: 0 / 0.8727 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.5858, allocations: 4 kB / 0.8727 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5858, allocations: 4 kB / 0.8727 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5858, allocations: 4.062 kB / 0.8727 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.5862, allocations: 220.7 kB / 0.8729 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.5862, allocations: 15.94 kB / 0.8729 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.5862, allocations: 4.062 kB / 0.8729 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.5864, allocations: 8 kB / 0.8729 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.5864, allocations: 11.97 kB / 0.8729 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.5864, allocations: 4 kB / 0.8729 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.179e-05/0.5864, allocations: 83.28 kB / 0.873 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.5864, allocations: 4.094 kB / 0.873 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002207/0.5867, allocations: 24 kB / 0.873 GB, free: 10.37 MB / 0.7012 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.0001336/0.5868, allocations: 115.1 kB / 0.8731 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.587, allocations: 95.89 kB / 0.8732 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.587, allocations: 0 / 0.8732 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 7.315e-05/0.5871, allocations: 47.92 kB / 0.8733 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.5873, allocations: 14.5 kB / 0.8733 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008236/0.5881, allocations: 0.5159 MB / 0.8738 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.238e-05/0.5882, allocations: 88.05 kB / 0.8739 GB, free: 9.445 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 9.206e-05/0.5883, allocations: 24.58 kB / 0.8739 GB, free: 9.422 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.5884, allocations: 16.5 kB / 0.8739 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of SimCode: time 3.81e-07/0.5884, allocations: 0 / 0.8739 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of Templates: time 0.003855/0.5922, allocations: 1.084 MB / 0.875 GB, free: 8.355 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (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 ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.787237111013383] Failed to read output from testmodel.py, exit status != 0: 0.6000003220979124 0.613152878 0.029698172000000002 Calling exit ...