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.001667/0.001667, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001682/0.001682, allocations: 221.5 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 8.09 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.002428/0.002428, allocations: 285.2 kB / 313.5 MB, free: 2.984 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: 12.99 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.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.002821/0.002821, allocations: 99.09 kB / 0.7408 GB, free: 27.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1718, allocations: 95.39 MB / 0.8339 GB, free: 8.211 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002601/0.1744, allocations: 1.301 MB / 0.8352 GB, free: 6.895 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.17/0.3444, allocations: 150.3 MB / 0.982 GB, free: 4 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.3444, allocations: 0 / 0.982 GB, free: 4 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.3721/0.7165, allocations: 4 kB / 0.982 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.176e-05/0.7165, allocations: 7.469 kB / 0.982 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.717, allocations: 90.47 kB / 0.9821 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.59e-05/0.7171, allocations: 35.77 kB / 0.9821 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.329e-05/0.7171, allocations: 3.234 kB / 0.9821 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.091e-05/0.7172, allocations: 19.73 kB / 0.9822 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.067e-05/0.7172, allocations: 14.7 kB / 0.9822 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.7172, allocations: 1.688 kB / 0.9822 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.7175, allocations: 80.02 kB / 0.9822 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.7175, allocations: 11.22 kB / 0.9823 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.7175, allocations: 14.17 kB / 0.9823 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.7177, allocations: 67.56 kB / 0.9823 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7177, allocations: 0.75 kB / 0.9823 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7177, allocations: 0.5156 kB / 0.9823 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.7177, allocations: 3.688 kB / 0.9823 GB, free: 3.855 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004124/0.7181, allocations: 279.6 kB / 0.9826 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.7181, allocations: 10.25 kB / 0.9826 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.7183, allocations: 14.69 kB / 0.9826 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.403e-05/0.7184, allocations: 106.1 kB / 0.9827 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.7184, allocations: 6.375 kB / 0.9827 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.7185, allocations: 10.53 kB / 0.9827 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.7186, allocations: 58.5 kB / 0.9828 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.7186, allocations: 0 / 0.9828 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.7186, allocations: 1.609 kB / 0.9828 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.7186, allocations: 0.9062 kB / 0.9828 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.569e-05/0.7186, allocations: 17.11 kB / 0.9828 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.7188, allocations: 134.7 kB / 0.983 GB, free: 19.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.725e-05/0.7189, allocations: 49.62 kB / 0.983 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.7189, allocations: 19.72 kB / 0.983 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.7189, allocations: 2.156 kB / 0.983 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.7189, allocations: 35.5 kB / 0.9831 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.7189, allocations: 2.344 kB / 0.9831 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0006413/0.7196, allocations: 300.2 kB / 0.9833 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.7196, allocations: 53.94 kB / 0.9834 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.791e-05/0.7197, allocations: 92.7 kB / 0.9835 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.7197, allocations: 30.8 kB / 0.9835 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.7197, allocations: 80.14 kB / 0.9836 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.7198, allocations: 45.91 kB / 0.9836 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.7198, allocations: 27.58 kB / 0.9837 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.7199, allocations: 321.6 kB / 0.984 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.54e-05/0.72, allocations: 21.03 kB / 0.984 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.253e-05/0.72, allocations: 35.61 kB / 0.984 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.862e-05/0.7201, allocations: 63.19 kB / 0.9841 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.7201, allocations: 1.969 kB / 0.9841 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001266/0.7202, allocations: 93.77 kB / 0.9842 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.7202, allocations: 7.25 kB / 0.9842 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.7202, allocations: 0.8125 kB / 0.9842 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.7202, allocations: 1.625 kB / 0.9842 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.7203, allocations: 22.36 kB / 0.9842 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.7204, allocations: 0 / 0.9842 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.004e-05/0.7204, allocations: 8.156 kB / 0.9842 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.7204, allocations: 4.547 kB / 0.9842 GB, free: 18.34 MB / 0.7325 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 7.841e-05/0.7205, allocations: 124.2 kB / 0.9843 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.7205, allocations: 9.25 kB / 0.9843 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.7205, allocations: 13.19 kB / 0.9844 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.7205, allocations: 0.875 kB / 0.9844 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7205, allocations: 1.266 kB / 0.9844 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7205, allocations: 2.406 kB / 0.9844 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.7206, allocations: 146.8 kB / 0.9845 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7206, allocations: 0 / 0.9845 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.7207, allocations: 24.75 kB / 0.9845 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.7207, allocations: 1.625 kB / 0.9845 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.7208, allocations: 6.25 kB / 0.9845 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.7208, allocations: 0.75 kB / 0.9845 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7208, allocations: 0.6094 kB / 0.9845 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.7209, allocations: 134.8 kB / 0.9847 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.721, allocations: 6.422 kB / 0.9847 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.721, allocations: 5.156 kB / 0.9847 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.98e-05/0.7211, allocations: 4.516 kB / 0.9847 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.7211, allocations: 12.77 kB / 0.9847 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.7211, allocations: 4.25 kB / 0.9847 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.7211, allocations: 77.12 kB / 0.9848 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.7211, allocations: 1.062 kB / 0.9848 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001906/0.7213, allocations: 15.69 kB / 0.9848 GB, free: 17.91 MB / 0.7325 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.863e-05/0.7214, allocations: 99.66 kB / 0.9849 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.7215, allocations: 60.27 kB / 0.9849 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7216, allocations: 0 / 0.9849 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.534e-05/0.7216, allocations: 28.77 kB / 0.985 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.7218, allocations: 16.09 kB / 0.985 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.7223, allocations: 352 kB / 0.9853 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.7226, allocations: 0.6909 MB / 0.986 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.7226, allocations: 13.12 kB / 0.986 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.7226, allocations: 0 / 0.986 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of Templates: time 0.002209/0.7248, allocations: 0.833 MB / 0.9868 GB, free: 16.93 MB / 0.7325 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: 8.390299244085327] Failed to read output from testmodel.py, exit status != 0: 0.7317027971148491 0.744026478 0.023561954000000003 Calling exit ...