Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.001379/0.001379, allocations: 78.45 kB / 19.01 MB, free: 2.691 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.001593/0.001593, allocations: 165.5 kB / 22.26 MB, free: 4.727 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.406/1.406, allocations: 177.2 MB / 202.6 MB, free: 9.258 MB / 190.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.002389/0.002389, allocations: 226.7 kB / 259.2 MB, free: 0.5859 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.048/1.048, allocations: 138.5 MB / 454.2 MB, free: 2.059 MB / 366.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [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.002893/0.002893, allocations: 107.8 kB / 0.6466 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4521, allocations: 95.34 MB / 0.7397 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00269/0.4547, allocations: 1.292 MB / 0.7409 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1813/0.636, allocations: 129 MB / 0.867 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.174e-05/0.636, allocations: 4 kB / 0.867 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.6361, allocations: 7.922 kB / 0.867 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 4.212e-05/0.6361, allocations: 0 / 0.867 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.6365, allocations: 95.56 kB / 0.8671 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.6366, allocations: 35.8 kB / 0.8671 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.6367, allocations: 3.984 kB / 0.8671 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 6.572e-05/0.6367, allocations: 23.92 kB / 0.8671 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 6.601e-05/0.6368, allocations: 19.91 kB / 0.8672 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.6368, allocations: 4 kB / 0.8672 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.6371, allocations: 67.84 kB / 0.8672 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.6371, allocations: 15.97 kB / 0.8672 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.6371, allocations: 7.938 kB / 0.8672 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.6373, allocations: 65.23 kB / 0.8673 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.6373, allocations: 4 kB / 0.8673 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6373, allocations: 0 / 0.8673 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.6373, allocations: 0 / 0.8673 GB, free: 12.06 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003993/0.6377, allocations: 282.2 kB / 0.8676 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.6377, allocations: 8.75 kB / 0.8676 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.6379, allocations: 20.88 kB / 0.8676 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.638, allocations: 106.5 kB / 0.8677 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.638, allocations: 11.94 kB / 0.8677 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.6381, allocations: 4 kB / 0.8677 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.6382, allocations: 138.8 kB / 0.8679 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.6382, allocations: 0 / 0.8679 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.6383, allocations: 0 / 0.8679 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.6383, allocations: 0 / 0.8679 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.351e-05/0.6383, allocations: 15.98 kB / 0.8679 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.6385, allocations: 105.3 kB / 0.868 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.6386, allocations: 58.42 kB / 0.868 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.398e-05/0.6386, allocations: 20.84 kB / 0.868 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.6386, allocations: 4 kB / 0.8681 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.6386, allocations: 30.56 kB / 0.8681 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.6386, allocations: 4 kB / 0.8681 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.000723/0.6394, allocations: 293.2 kB / 0.8684 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.6394, allocations: 59.34 kB / 0.8684 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.183e-05/0.6395, allocations: 97.84 kB / 0.8685 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.6395, allocations: 29.7 kB / 0.8685 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.6396, allocations: 80.14 kB / 0.8686 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.6396, allocations: 43.64 kB / 0.8687 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.6397, allocations: 25.72 kB / 0.8687 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6398, allocations: 322.9 kB / 0.869 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.604e-05/0.6398, allocations: 16 kB / 0.869 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.551e-05/0.6399, allocations: 37.7 kB / 0.869 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.511e-05/0.64, allocations: 57.7 kB / 0.8691 GB, free: 10 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.64, allocations: 0 / 0.8691 GB, free: 10 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001577/0.6402, allocations: 98.23 kB / 0.8692 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.6402, allocations: 4 kB / 0.8692 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.6402, allocations: 3.938 kB / 0.8692 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.6402, allocations: 0 / 0.8692 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.6403, allocations: 27.92 kB / 0.8692 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.6404, allocations: 0 / 0.8692 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.6404, allocations: 8 kB / 0.8692 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.6404, allocations: 4.078 kB / 0.8692 GB, free: 9.855 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.0001026/0.6405, allocations: 117.8 kB / 0.8694 GB, free: 9.73 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.6405, allocations: 7.953 kB / 0.8694 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.6405, allocations: 7.969 kB / 0.8694 GB, free: 9.719 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.6405, allocations: 0 / 0.8694 GB, free: 9.719 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.6406, allocations: 11.92 kB / 0.8694 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.6406, allocations: 3.984 kB / 0.8694 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.6407, allocations: 117.2 kB / 0.8695 GB, free: 9.559 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6407, allocations: 0 / 0.8695 GB, free: 9.559 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.6408, allocations: 27.92 kB / 0.8695 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.6408, allocations: 4 kB / 0.8695 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.6408, allocations: 8 kB / 0.8695 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.6408, allocations: 3.984 kB / 0.8695 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.6408, allocations: 0 / 0.8695 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.6411, allocations: 129 kB / 0.8697 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.6411, allocations: 12.03 kB / 0.8697 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.6411, allocations: 0 / 0.8697 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.353e-05/0.6412, allocations: 7.938 kB / 0.8697 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.6412, allocations: 7.984 kB / 0.8697 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.6412, allocations: 4 kB / 0.8697 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.89e-05/0.6413, allocations: 83.28 kB / 0.8698 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.6413, allocations: 0 / 0.8698 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002045/0.6415, allocations: 16 kB / 0.8698 GB, free: 9.242 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.000122/0.6416, allocations: 107.1 kB / 0.8699 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.6417, allocations: 51.92 kB / 0.8699 GB, free: 9.074 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6417, allocations: 0 / 0.8699 GB, free: 9.074 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 5.267e-05/0.6418, allocations: 27.98 kB / 0.87 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.642, allocations: 11.94 kB / 0.87 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/0.6426, allocations: 321.2 kB / 0.8703 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.898e-05/0.6427, allocations: 71.34 kB / 0.8703 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 5.41e-05/0.6428, allocations: 8.719 kB / 0.8704 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.6428, allocations: 16.5 kB / 0.8704 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of SimCode: time 3.91e-07/0.6428, allocations: 3.938 kB / 0.8704 GB, free: 8.578 MB / 0.7012 GB Notification: Performance of Templates: time 0.003336/0.6461, allocations: 0.6279 MB / 0.871 GB, free: 7.98 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.061520367860794] Failed to read output from testmodel.py, exit status != 0: 0.6548921782523394 0.670113543 0.029537632 Calling exit ...