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.0006969/0.0006969, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001438/0.002135, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001037/0.001037, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001325/0.002361, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.072/1.072, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08756/1.159, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001267/0.001267, allocations: 233.8 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001122/0.002389, allocations: 475.4 kB / 244.8 MB, free: 14.08 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6866/0.6866, allocations: 138.7 MB / 384.3 MB, free: 368 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0682/0.7548, allocations: 42.41 MB / 426.7 MB, free: 5.809 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.283e-06/1.283e-06, allocations: 0 / 428 MB, free: 4.504 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.953e-05, allocations: 2.312 kB / 428 MB, free: 4.5 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001696/0.001716, allocations: 1.372 MB / 429.4 MB, free: 3.113 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3116/0.3133, allocations: 142.6 MB / 0.5586 GB, free: 440 kB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.3134, allocations: 4 kB / 0.5586 GB, free: 436 kB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.3134, allocations: 7.875 kB / 0.5586 GB, free: 428 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.134e-05/0.3134, allocations: 3.984 kB / 0.5586 GB, free: 424 kB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.3137, allocations: 93.83 kB / 0.5587 GB, free: 336 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.386e-05/0.3137, allocations: 31.86 kB / 0.5587 GB, free: 304 kB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.318e-05/0.3138, allocations: 4 kB / 0.5587 GB, free: 300 kB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.912e-05/0.3138, allocations: 23.97 kB / 0.5588 GB, free: 276 kB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.66e-05/0.3139, allocations: 15.91 kB / 0.5588 GB, free: 260 kB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.3139, allocations: 8 kB / 0.5588 GB, free: 252 kB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.3141, allocations: 80.03 kB / 0.5589 GB, free: 176 kB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.3141, allocations: 4 kB / 0.5589 GB, free: 172 kB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.589e-05/0.3141, allocations: 11.94 kB / 0.5589 GB, free: 160 kB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.3142, allocations: 59.78 kB / 0.5589 GB, free: 100 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.371e-05/0.3142, allocations: 0 / 0.5589 GB, free: 100 kB / 0.5261 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3142, allocations: 0 / 0.5589 GB, free: 100 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.3142, allocations: 4 kB / 0.5589 GB, free: 96 kB / 0.5261 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.0003343/0.3146, allocations: 269.2 kB / 0.5592 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.3146, allocations: 8.75 kB / 0.5592 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.3148, allocations: 104.9 kB / 0.5593 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.53e-05/0.3149, allocations: 105.7 kB / 0.5594 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3149, allocations: 13.11 kB / 0.5594 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.3149, allocations: 4.562 kB / 0.5594 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.699e-05/0.315, allocations: 130.7 kB / 0.5596 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.315, allocations: 3.938 kB / 0.5596 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.315, allocations: 0 / 0.5596 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.315, allocations: 4 kB / 0.5596 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.472e-05/0.315, allocations: 13.81 kB / 0.5596 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.104e-05/0.3151, allocations: 71.84 kB / 0.5596 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.308e-05/0.3152, allocations: 34.64 kB / 0.5597 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.3152, allocations: 20.98 kB / 0.5597 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.972e-06/0.3152, allocations: 4 kB / 0.5597 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.3152, allocations: 31.25 kB / 0.5597 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.3152, allocations: 0 / 0.5597 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.0005773/0.3158, allocations: 313.6 kB / 0.56 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.174e-05/0.3158, allocations: 51.41 kB / 0.5601 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.421e-05/0.3158, allocations: 106.7 kB / 0.5602 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.3159, allocations: 29.7 kB / 0.5602 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.875e-05/0.3159, allocations: 80.14 kB / 0.5603 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.3159, allocations: 47.77 kB / 0.5603 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.3159, allocations: 33.14 kB / 0.5604 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.788e-05/0.316, allocations: 314.8 kB / 0.5607 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.316, allocations: 11.98 kB / 0.5607 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.316, allocations: 29.64 kB / 0.5607 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.47e-05/0.3161, allocations: 46.53 kB / 0.5607 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3161, allocations: 0 / 0.5607 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14) (initialization): time 6.718e-05/0.3162, allocations: 71.39 kB / 0.5608 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3162, allocations: 7.938 kB / 0.5608 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.3162, allocations: 0 / 0.5608 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3162, allocations: 4 kB / 0.5608 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/0.3163, allocations: 27.98 kB / 0.5609 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.3163, allocations: 0 / 0.5609 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.3163, allocations: 8 kB / 0.5609 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-06/0.3163, allocations: 1.688 kB / 0.5609 GB, free: 13.92 MB / 0.5417 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 5.06e-05/0.3163, allocations: 117.8 kB / 0.561 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.3164, allocations: 11.92 kB / 0.561 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.3164, allocations: 11.97 kB / 0.561 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3164, allocations: 4 kB / 0.561 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.3164, allocations: 0 / 0.561 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3164, allocations: 0.7969 kB / 0.561 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.206e-05/0.3165, allocations: 73.89 kB / 0.5611 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3165, allocations: 0 / 0.5611 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.801e-05/0.3165, allocations: 31.98 kB / 0.5611 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.3165, allocations: 7.953 kB / 0.5611 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3166, allocations: 3.984 kB / 0.5611 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3166, allocations: 3.938 kB / 0.5611 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.3166, allocations: 0 / 0.5611 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3166, allocations: 0.875 kB / 0.5611 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.3167, allocations: 110.9 kB / 0.5612 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-06/0.3167, allocations: 4.562 kB / 0.5612 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/0.3167, allocations: 11.94 kB / 0.5612 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.3167, allocations: 7.984 kB / 0.5612 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.3167, allocations: 0 / 0.5612 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.107e-05/0.3168, allocations: 8.859 kB / 0.5613 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.3168, allocations: 0 / 0.5613 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001035/0.3169, allocations: 16 kB / 0.5613 GB, free: 13.46 MB / 0.5417 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 8.26e-05/0.3169, allocations: 84.41 kB / 0.5614 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.256e-05/0.317, allocations: 50.05 kB / 0.5614 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.317, allocations: 0 / 0.5614 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.3173, allocations: 37.59 kB / 0.5614 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.3175, allocations: 30.17 kB / 0.5615 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007747/0.3182, allocations: 195.5 kB / 0.5616 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.035e-05/0.3183, allocations: 67.91 kB / 0.5617 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.178e-05/0.3183, allocations: 8.734 kB / 0.5617 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.3184, allocations: 71.36 kB / 0.5618 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of SimCode: time 9.42e-07/0.3184, allocations: 0 / 0.5618 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of Templates: time 0.002292/0.3207, allocations: 0.9922 MB / 0.5628 GB, free: 11.97 MB / 0.5417 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6286270897835493]