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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 249.4 MB, free: 3.02 MB / 190.1 MB " [Timeout remaining time 178] 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.002391/0.002391, allocations: 291.5 kB / 304.8 MB, free: 3.625 MB / 238.1 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 1.04/1.04, allocations: 180.9 MB / 0.5281 GB, free: 1.824 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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002814/0.002814, allocations: 95.84 kB / 0.7283 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5142/0.5171, allocations: 94.17 MB / 0.8203 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002451/0.5195, allocations: 1.283 MB / 0.8215 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.184/0.7035, allocations: 147.5 MB / 0.9655 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.7035, allocations: 0 / 0.9655 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.7035, allocations: 0 / 0.9655 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 5.847e-05/0.7036, allocations: 11.91 kB / 0.9655 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.704, allocations: 99.56 kB / 0.9656 GB, free: 8.402 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 7.979e-05/0.7041, allocations: 27.92 kB / 0.9656 GB, free: 8.375 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.7041, allocations: 4 kB / 0.9656 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.099e-05/0.7042, allocations: 19.91 kB / 0.9657 GB, free: 8.352 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.7042, allocations: 15.98 kB / 0.9657 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.7042, allocations: 4 kB / 0.9657 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002399/0.7045, allocations: 87.64 kB / 0.9658 GB, free: 8.246 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.7045, allocations: 11.98 kB / 0.9658 GB, free: 8.234 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.7045, allocations: 11.94 kB / 0.9658 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.7047, allocations: 75.31 kB / 0.9659 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7047, allocations: 0 / 0.9659 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7047, allocations: 0 / 0.9659 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.7047, allocations: 0 / 0.9659 GB, free: 8.156 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.0004156/0.7051, allocations: 358 kB / 0.9662 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.7051, allocations: 12.03 kB / 0.9662 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.7053, allocations: 12.92 kB / 0.9662 GB, free: 7.738 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.7054, allocations: 160.4 kB / 0.9664 GB, free: 7.543 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.7055, allocations: 3.938 kB / 0.9664 GB, free: 7.539 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.7055, allocations: 11.95 kB / 0.9664 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.7056, allocations: 49.67 kB / 0.9664 GB, free: 7.473 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.7056, allocations: 0 / 0.9664 GB, free: 7.473 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.7056, allocations: 4 kB / 0.9664 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.7056, allocations: 4 kB / 0.9665 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.984e-05/0.7057, allocations: 19.92 kB / 0.9665 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.7059, allocations: 165.6 kB / 0.9666 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 8.556e-05/0.7059, allocations: 38.56 kB / 0.9667 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.706, allocations: 24.83 kB / 0.9667 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.706, allocations: 0 / 0.9667 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.706, allocations: 38.56 kB / 0.9667 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.706, allocations: 0 / 0.9667 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.0007321/0.7068, allocations: 378.3 kB / 0.9671 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.7068, allocations: 55.41 kB / 0.9671 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.528e-05/0.7069, allocations: 93.84 kB / 0.9672 GB, free: 6.523 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.7069, allocations: 29.83 kB / 0.9673 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.7069, allocations: 88.14 kB / 0.9673 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.707, allocations: 35.69 kB / 0.9674 GB, free: 6.363 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.707, allocations: 25.72 kB / 0.9674 GB, free: 6.332 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.7071, allocations: 318.8 kB / 0.9677 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.676e-05/0.7072, allocations: 20 kB / 0.9677 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-05/0.7072, allocations: 33.7 kB / 0.9678 GB, free: 5.953 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.302e-05/0.7073, allocations: 73.62 kB / 0.9678 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.7073, allocations: 0 / 0.9678 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001401/0.7075, allocations: 90.27 kB / 0.9679 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.7075, allocations: 8 kB / 0.9679 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.7075, allocations: 3.938 kB / 0.9679 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.7075, allocations: 0 / 0.9679 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.7076, allocations: 23.98 kB / 0.9679 GB, free: 5.746 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.7076, allocations: 3.938 kB / 0.968 GB, free: 5.742 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.7076, allocations: 4 kB / 0.968 GB, free: 5.738 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.7076, allocations: 4 kB / 0.968 GB, free: 5.734 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 8.779e-05/0.7077, allocations: 125.7 kB / 0.9681 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.7077, allocations: 3.953 kB / 0.9681 GB, free: 5.598 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.7078, allocations: 19.91 kB / 0.9681 GB, free: 5.582 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.7078, allocations: 0 / 0.9681 GB, free: 5.582 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7078, allocations: 3.984 kB / 0.9681 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.7078, allocations: 3.938 kB / 0.9681 GB, free: 5.574 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.7079, allocations: 173.6 kB / 0.9683 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.7079, allocations: 0 / 0.9683 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.708, allocations: 19.98 kB / 0.9683 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.708, allocations: 4 kB / 0.9683 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.7081, allocations: 4 kB / 0.9683 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7081, allocations: 0 / 0.9683 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.7081, allocations: 0 / 0.9683 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.7083, allocations: 145 kB / 0.9684 GB, free: 5.168 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 7.738e-05/0.7083, allocations: 85.06 kB / 0.9685 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.7083, allocations: 4.047 kB / 0.9685 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.98e-05/0.7084, allocations: 3.984 kB / 0.9685 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.7084, allocations: 11.94 kB / 0.9685 GB, free: 5.047 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.7085, allocations: 8 kB / 0.9685 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 3.721e-05/0.7085, allocations: 79.27 kB / 0.9686 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.7085, allocations: 0 / 0.9686 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001924/0.7087, allocations: 19.94 kB / 0.9686 GB, free: 4.941 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.0001024/0.7088, allocations: 99.25 kB / 0.9687 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.7089, allocations: 55.98 kB / 0.9688 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7089, allocations: 96 / 0.9688 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 4.136e-05/0.709, allocations: 31.92 kB / 0.9688 GB, free: 4.746 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.7092, allocations: 8 kB / 0.9688 GB, free: 4.738 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.7097, allocations: 328.7 kB / 0.9691 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.71, allocations: 0.6924 MB / 0.9698 GB, free: 3.672 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 5.376e-05/0.7101, allocations: 8.672 kB / 0.9698 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.7101, allocations: 11.44 kB / 0.9698 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of SimCode: time 3.41e-07/0.7101, allocations: 0 / 0.9698 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of Templates: time 0.00282/0.7129, allocations: 0.6686 MB / 0.9705 GB, free: 2.992 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.357486579567194]