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.001479/0.001479, allocations: 83.81 kB / 19.76 MB, free: 2.016 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.001665/0.001665, allocations: 154.2 kB / 23.01 MB, free: 4.973 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.355/1.355, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.002426/0.002426, allocations: 242 kB / 260 MB, free: 444 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.8859/0.8859, allocations: 138.5 MB / 455 MB, free: 15.09 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.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.002862/0.002862, allocations: 99.84 kB / 0.6473 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4171, allocations: 95.34 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00217/0.4192, allocations: 1.285 MB / 0.7417 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1576/0.5768, allocations: 129.1 MB / 0.8677 GB, free: 112 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.5769, allocations: 0 / 0.8677 GB, free: 112 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 2.15e-05/0.5769, allocations: 7.922 kB / 0.8677 GB, free: 104 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 5.032e-05/0.577, allocations: 11.92 kB / 0.8677 GB, free: 92 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.5773, allocations: 91.58 kB / 0.8678 GB, free: 0 / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 6.557e-05/0.5774, allocations: 28.03 kB / 0.8678 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.324e-05/0.5774, allocations: 7.922 kB / 0.8679 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.373e-05/0.5775, allocations: 23.92 kB / 0.8679 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 5.067e-05/0.5775, allocations: 7.984 kB / 0.8679 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.5775, allocations: 3.938 kB / 0.8679 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002297/0.5778, allocations: 75.83 kB / 0.868 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.5778, allocations: 15.94 kB / 0.868 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.5778, allocations: 15.97 kB / 0.868 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.578, allocations: 64.39 kB / 0.8681 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.578, allocations: 4 kB / 0.8681 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.092e-06/0.578, allocations: 0 / 0.8681 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.578, allocations: 0 / 0.8681 GB, free: 15.76 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.0003711/0.5783, allocations: 278.1 kB / 0.8683 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.5784, allocations: 8.75 kB / 0.8683 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.5786, allocations: 20.88 kB / 0.8684 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.942e-05/0.5787, allocations: 106.5 kB / 0.8685 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.5787, allocations: 7.938 kB / 0.8685 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.5787, allocations: 8 kB / 0.8685 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.5788, allocations: 126.8 kB / 0.8686 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.5789, allocations: 0 / 0.8686 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.5789, allocations: 0 / 0.8686 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.5789, allocations: 0 / 0.8686 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.52e-05/0.5789, allocations: 19.92 kB / 0.8686 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.5791, allocations: 105.3 kB / 0.8687 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 9.087e-05/0.5791, allocations: 50.58 kB / 0.8688 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.5792, allocations: 24.98 kB / 0.8688 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.5792, allocations: 11.98 kB / 0.8688 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.5792, allocations: 30.56 kB / 0.8688 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.5792, allocations: 0 / 0.8688 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.000659/0.5799, allocations: 296.8 kB / 0.8691 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.5799, allocations: 55.41 kB / 0.8692 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.18e-05/0.58, allocations: 97.84 kB / 0.8693 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.58, allocations: 25.7 kB / 0.8693 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.58, allocations: 84.14 kB / 0.8694 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.5801, allocations: 51.75 kB / 0.8694 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.5801, allocations: 25.72 kB / 0.8694 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.5803, allocations: 314.8 kB / 0.8697 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.5803, allocations: 23.98 kB / 0.8698 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.824e-05/0.5804, allocations: 33.7 kB / 0.8698 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.541e-05/0.5804, allocations: 61.64 kB / 0.8698 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.5804, allocations: 4 kB / 0.8698 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001334/0.5806, allocations: 86.3 kB / 0.8699 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.5806, allocations: 11.94 kB / 0.8699 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.5806, allocations: 0 / 0.8699 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.5806, allocations: 0 / 0.8699 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.5807, allocations: 31.92 kB / 0.87 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.5807, allocations: 0 / 0.87 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.5807, allocations: 4 kB / 0.87 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.5808, allocations: 7.984 kB / 0.87 GB, free: 13.56 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 9.289e-05/0.5808, allocations: 121.7 kB / 0.8701 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.5809, allocations: 7.953 kB / 0.8701 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/0.5809, allocations: 15.97 kB / 0.8701 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5809, allocations: 0 / 0.8701 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5809, allocations: 0 / 0.8701 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5809, allocations: 7.922 kB / 0.8701 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.957e-05/0.581, allocations: 117.3 kB / 0.8702 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.581, allocations: 0 / 0.8702 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.5811, allocations: 19.98 kB / 0.8703 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5811, allocations: 4 kB / 0.8703 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.5811, allocations: 4 kB / 0.8703 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5811, allocations: 3.938 kB / 0.8703 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5811, allocations: 0 / 0.8703 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.5813, allocations: 133 kB / 0.8704 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.5814, allocations: 8.031 kB / 0.8704 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.5814, allocations: 3.938 kB / 0.8704 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.5815, allocations: 12 kB / 0.8704 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.5815, allocations: 7.984 kB / 0.8704 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.5815, allocations: 0 / 0.8704 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.218e-05/0.5815, allocations: 79.28 kB / 0.8705 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.5815, allocations: 0 / 0.8705 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000189/0.5817, allocations: 16 kB / 0.8705 GB, free: 12.96 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 9.192e-05/0.5818, allocations: 103.2 kB / 0.8706 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.5819, allocations: 55.92 kB / 0.8707 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5819, allocations: 0 / 0.8707 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/0.582, allocations: 28.08 kB / 0.8707 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.5822, allocations: 15.88 kB / 0.8707 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.5827, allocations: 317.2 kB / 0.871 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.405e-05/0.5828, allocations: 67.34 kB / 0.8711 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 4.748e-05/0.5828, allocations: 12.72 kB / 0.8711 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.5829, allocations: 20.5 kB / 0.8711 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of SimCode: time 3e-07/0.5829, allocations: 0 / 0.8711 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of Templates: time 0.002888/0.5857, allocations: 0.6208 MB / 0.8717 GB, free: 11.7 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.767306030029431] Failed to read output from testmodel.py, exit status != 0: 0.5935527579858899 0.606715086 0.025854643 Calling exit ...