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.001761/0.001761, allocations: 79.97 kB / 19.18 MB, free: 2.527 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.002066/0.002066, allocations: 164.4 kB / 22.46 MB, free: 5.355 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.459/1.459, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.002499/0.002499, allocations: 249.9 kB / 259.4 MB, free: 488 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 1.073/1.073, allocations: 138.4 MB / 454.3 MB, free: 2 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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.6468 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.575e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002245/0.002271, allocations: 1.298 MB / 0.648 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4414/0.4437, allocations: 129.1 MB / 0.7741 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.4437, allocations: 0 / 0.7741 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.4437, allocations: 0 / 0.7741 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.397e-05/0.4438, allocations: 7.938 kB / 0.7741 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.4442, allocations: 101 kB / 0.7742 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.726e-05/0.4443, allocations: 35.84 kB / 0.7742 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.4444, allocations: 4 kB / 0.7742 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/0.4445, allocations: 19.98 kB / 0.7742 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.185e-05/0.4445, allocations: 11.97 kB / 0.7743 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.4445, allocations: 0 / 0.7743 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.4448, allocations: 83.69 kB / 0.7743 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.4448, allocations: 11.98 kB / 0.7743 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.4449, allocations: 8 kB / 0.7744 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.445, allocations: 75.8 kB / 0.7744 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.445, allocations: 0 / 0.7744 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.445, allocations: 3.938 kB / 0.7744 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.4451, allocations: 0 / 0.7744 GB, free: 13.73 MB / 0.6075 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.0004446/0.4455, allocations: 278.1 kB / 0.7747 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.4455, allocations: 8.75 kB / 0.7747 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.4457, allocations: 21.39 kB / 0.7747 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.4458, allocations: 109.6 kB / 0.7748 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.4458, allocations: 4.375 kB / 0.7748 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.4459, allocations: 8.562 kB / 0.7748 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.4461, allocations: 130.7 kB / 0.775 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.4461, allocations: 0 / 0.775 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.4461, allocations: 0 / 0.775 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.4461, allocations: 0 / 0.775 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.119e-05/0.4462, allocations: 19.98 kB / 0.775 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.4463, allocations: 105.3 kB / 0.7751 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.731e-05/0.4464, allocations: 46.56 kB / 0.7751 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.4464, allocations: 21.08 kB / 0.7752 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.4464, allocations: 0 / 0.7752 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.4465, allocations: 34.56 kB / 0.7752 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.4465, allocations: 0 / 0.7752 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0007439/0.4472, allocations: 304.9 kB / 0.7755 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.4473, allocations: 51.41 kB / 0.7755 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.029e-05/0.4473, allocations: 97.84 kB / 0.7756 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.4474, allocations: 29.7 kB / 0.7756 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.4474, allocations: 80.14 kB / 0.7757 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-05/0.4475, allocations: 47.58 kB / 0.7758 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.4475, allocations: 29.83 kB / 0.7758 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.4477, allocations: 318.8 kB / 0.7761 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.965e-05/0.4477, allocations: 15.98 kB / 0.7761 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.542e-05/0.4478, allocations: 37.7 kB / 0.7762 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.116e-05/0.4479, allocations: 61.31 kB / 0.7762 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.4479, allocations: 0 / 0.7762 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001405/0.448, allocations: 101.5 kB / 0.7763 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.448, allocations: 4 kB / 0.7763 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.448, allocations: 0 / 0.7763 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.448, allocations: 4 kB / 0.7763 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.4481, allocations: 23.92 kB / 0.7763 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.4481, allocations: 4 kB / 0.7763 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.094e-05/0.4482, allocations: 8 kB / 0.7763 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.4482, allocations: 0 / 0.7763 GB, free: 11.54 MB / 0.6075 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 8.4e-05/0.4483, allocations: 113.8 kB / 0.7765 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.4483, allocations: 11.89 kB / 0.7765 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.4483, allocations: 7.969 kB / 0.7765 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.4483, allocations: 8.609 kB / 0.7765 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.4483, allocations: 0 / 0.7765 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.4483, allocations: 0 / 0.7765 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.4485, allocations: 113.3 kB / 0.7766 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4485, allocations: 8.844 kB / 0.7766 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.4486, allocations: 31.86 kB / 0.7766 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.4486, allocations: 3.938 kB / 0.7766 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.4486, allocations: 4 kB / 0.7766 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4486, allocations: 0 / 0.7766 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4486, allocations: 0 / 0.7766 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.4488, allocations: 125.1 kB / 0.7768 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.4488, allocations: 11.97 kB / 0.7768 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.4489, allocations: 8 kB / 0.7768 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.4489, allocations: 0 / 0.7768 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.449, allocations: 7.984 kB / 0.7768 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.449, allocations: 12 kB / 0.7768 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.785e-05/0.449, allocations: 75.28 kB / 0.7769 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.449, allocations: 3.938 kB / 0.7769 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001943/0.4492, allocations: 19.94 kB / 0.7769 GB, free: 10.93 MB / 0.6075 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.0001167/0.4493, allocations: 95.25 kB / 0.777 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.4495, allocations: 55.91 kB / 0.777 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4495, allocations: 4 kB / 0.777 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.059e-05/0.4495, allocations: 23.98 kB / 0.7771 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.4497, allocations: 12.78 kB / 0.7771 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005093/0.4503, allocations: 255 kB / 0.7773 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.146e-05/0.4503, allocations: 72.09 kB / 0.7774 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.014e-05/0.4504, allocations: 8.719 kB / 0.7774 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.4504, allocations: 19.59 kB / 0.7774 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.4504, allocations: 4 kB / 0.7774 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of Templates: time 0.003363/0.4538, allocations: 0.6191 MB / 0.778 GB, free: 9.785 MB / 0.6075 GB " [Timeout remaining time 660] 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.062956474721432] Failed to read output from testmodel.py, exit status != 0: 0.4618854857981205 0.47623687000000003 0.028058057 Calling exit ...