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.001512/0.001512, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001651/0.001651, allocations: 216.9 kB / 23.01 MB, free: 4.605 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.369/1.369, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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.00253/0.00253, allocations: 282 kB / 313.5 MB, free: 2.922 MB / 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 1.139/1.139, allocations: 180.6 MB / 0.5377 GB, free: 13.16 MB / 382.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.002683/0.002683, allocations: 102.9 kB / 0.7408 GB, free: 27.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1768, allocations: 95.39 MB / 0.8339 GB, free: 8.184 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002359/0.1791, allocations: 1.36 MB / 0.8353 GB, free: 6.809 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.5783/0.7574, allocations: 151.4 MB / 0.9831 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.683e-05/0.7575, allocations: 0 / 0.9831 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.191e-05/0.7575, allocations: 6.812 kB / 0.9831 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.961e-05/0.7576, allocations: 11.02 kB / 0.9831 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000925/0.7585, allocations: 346.7 kB / 0.9835 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.7586, allocations: 67.02 kB / 0.9835 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.7587, allocations: 3.953 kB / 0.9835 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.152e-05/0.7587, allocations: 35.17 kB / 0.9836 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.897e-05/0.7588, allocations: 34.53 kB / 0.9836 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.7588, allocations: 3.5 kB / 0.9836 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008346/0.7597, allocations: 446 kB / 0.984 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.7597, allocations: 12.92 kB / 0.984 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.7598, allocations: 33.39 kB / 0.9841 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.7601, allocations: 158.5 kB / 0.9842 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7601, allocations: 1.781 kB / 0.9842 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7601, allocations: 0 / 0.9842 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.7601, allocations: 0 / 0.9842 GB, free: 3.809 MB / 0.7169 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.000568/0.7607, allocations: 317.4 kB / 0.9845 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.7607, allocations: 10.88 kB / 0.9845 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003903/0.7611, allocations: 33.02 kB / 0.9846 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.94e-05/0.7612, allocations: 106 kB / 0.9847 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.7612, allocations: 9.5 kB / 0.9847 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.7612, allocations: 18.59 kB / 0.9847 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.7614, allocations: 80.47 kB / 0.9848 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.7614, allocations: 0 / 0.9848 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.7614, allocations: 1.781 kB / 0.9848 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.7614, allocations: 3.359 kB / 0.9848 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.201e-05/0.7615, allocations: 49.36 kB / 0.9848 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.7617, allocations: 153.9 kB / 0.985 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.7619, allocations: 86.2 kB / 0.9851 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.7619, allocations: 34.59 kB / 0.9851 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.7621, allocations: 22.64 kB / 0.9851 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.7621, allocations: 43.2 kB / 0.9852 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.7621, allocations: 0 / 0.9852 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001228/0.7633, allocations: 479.5 kB / 0.9856 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.7634, allocations: 54.06 kB / 0.9857 GB, free: 18.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.7634, allocations: 102.1 kB / 0.9858 GB, free: 18.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.7635, allocations: 30.14 kB / 0.9858 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.7635, allocations: 85.94 kB / 0.9859 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.7636, allocations: 77.22 kB / 0.9859 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.7636, allocations: 39.84 kB / 0.986 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.7638, allocations: 322.8 kB / 0.9863 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.7638, allocations: 37.03 kB / 0.9863 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.653e-05/0.7639, allocations: 69.16 kB / 0.9864 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.7641, allocations: 121.1 kB / 0.9865 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.7641, allocations: 1.031 kB / 0.9865 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002126/0.7643, allocations: 153.6 kB / 0.9867 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.7643, allocations: 9.906 kB / 0.9867 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.7643, allocations: 1.125 kB / 0.9867 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.7643, allocations: 2.906 kB / 0.9867 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.7645, allocations: 42.5 kB / 0.9867 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7645, allocations: 1.781 kB / 0.9867 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/0.7645, allocations: 2.781 kB / 0.9867 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.7645, allocations: 9.031 kB / 0.9867 GB, free: 18.21 MB / 0.7325 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.0001047/0.7646, allocations: 125.8 kB / 0.9868 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.7647, allocations: 12.73 kB / 0.9869 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.7647, allocations: 15.88 kB / 0.9869 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.7647, allocations: 3.625 kB / 0.9869 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.7647, allocations: 0 / 0.9869 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7647, allocations: 1.203 kB / 0.9869 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.7649, allocations: 171.8 kB / 0.987 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7649, allocations: 0.9688 kB / 0.987 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.7651, allocations: 40.59 kB / 0.9871 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7651, allocations: 0.9375 kB / 0.9871 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.7651, allocations: 5.25 kB / 0.9871 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7651, allocations: 0.9375 kB / 0.9871 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.7651, allocations: 0.8438 kB / 0.9871 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.7654, allocations: 213.5 kB / 0.9873 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.7654, allocations: 19.31 kB / 0.9873 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.7654, allocations: 6.875 kB / 0.9873 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.7656, allocations: 13.34 kB / 0.9873 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.366e-05/0.7656, allocations: 17.28 kB / 0.9873 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.7656, allocations: 4.781 kB / 0.9873 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.254e-05/0.7656, allocations: 83.47 kB / 0.9874 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.7656, allocations: 0.7812 kB / 0.9874 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002254/0.7659, allocations: 29.81 kB / 0.9875 GB, free: 17.76 MB / 0.7325 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.0001448/0.766, allocations: 104.7 kB / 0.9876 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.7662, allocations: 109.9 kB / 0.9877 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7662, allocations: 0 / 0.9877 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.02e-05/0.7663, allocations: 54.48 kB / 0.9877 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.7666, allocations: 17.3 kB / 0.9877 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008201/0.7674, allocations: 0.5227 MB / 0.9882 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.7677, allocations: 0.7046 MB / 0.9889 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.7678, allocations: 16.94 kB / 0.9889 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.7678, allocations: 0.9375 kB / 0.9889 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of Templates: time 0.003201/0.771, allocations: 1.32 MB / 0.9902 GB, free: 16.68 MB / 0.7325 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.551928526023403] Failed to read output from testmodel.py, exit status != 0: 0.7775421699043363 0.791009641 0.028279823000000003 Calling exit ...