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.001473/0.001473, allocations: 115.2 kB / 17.13 MB, free: 5.914 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.001468/0.001468, allocations: 193.2 kB / 20.08 MB, free: 2.98 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.337/1.337, allocations: 225.6 MB / 248.5 MB, free: 3.625 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.00231/0.00231, allocations: 289.6 kB / 303.6 MB, free: 3.652 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.011/1.011, allocations: 180.9 MB / 0.5268 GB, free: 2.73 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.002654/0.002654, allocations: 103.8 kB / 0.7259 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.4726, allocations: 94.16 MB / 0.8178 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001939/0.4746, allocations: 1.286 MB / 0.8191 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1644/0.6389, allocations: 147.4 MB / 0.9631 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.226e-05/0.639, allocations: 0 / 0.9631 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.639, allocations: 3.938 kB / 0.9631 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 4.732e-05/0.639, allocations: 7.938 kB / 0.9631 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.6394, allocations: 95.55 kB / 0.9632 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 8.292e-05/0.6395, allocations: 31.92 kB / 0.9632 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.168e-05/0.6395, allocations: 7.938 kB / 0.9632 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.6396, allocations: 15.92 kB / 0.9632 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.6396, allocations: 15.92 kB / 0.9632 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.6396, allocations: 4 kB / 0.9632 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.6399, allocations: 79.81 kB / 0.9633 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.6399, allocations: 8 kB / 0.9633 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.6399, allocations: 15.92 kB / 0.9633 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.6401, allocations: 67.33 kB / 0.9634 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.6401, allocations: 0 / 0.9634 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6401, allocations: 7.938 kB / 0.9634 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.6401, allocations: 0 / 0.9634 GB, free: 11.59 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.0004261/0.6405, allocations: 359.3 kB / 0.9638 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.6406, allocations: 8.031 kB / 0.9638 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.6407, allocations: 12.92 kB / 0.9638 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.6409, allocations: 160.4 kB / 0.9639 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.6409, allocations: 11.94 kB / 0.9639 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.6409, allocations: 4 kB / 0.9639 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.641, allocations: 53.67 kB / 0.964 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.641, allocations: 0 / 0.964 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.641, allocations: 4 kB / 0.964 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.641, allocations: 0 / 0.964 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.816e-05/0.6411, allocations: 19.92 kB / 0.964 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.6412, allocations: 165.6 kB / 0.9642 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 9.842e-05/0.6413, allocations: 46.56 kB / 0.9642 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.6414, allocations: 20.84 kB / 0.9642 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.6414, allocations: 0 / 0.9642 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.6414, allocations: 34.56 kB / 0.9643 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.6414, allocations: 0 / 0.9643 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.000715/0.6421, allocations: 374.3 kB / 0.9646 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.6422, allocations: 51.41 kB / 0.9647 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.905e-05/0.6422, allocations: 101.9 kB / 0.9648 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.6423, allocations: 29.69 kB / 0.9648 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.6423, allocations: 80.14 kB / 0.9649 GB, free: 9.84 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/0.6423, allocations: 35.7 kB / 0.9649 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.6424, allocations: 29.7 kB / 0.9649 GB, free: 9.77 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6425, allocations: 318.8 kB / 0.9653 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.361e-05/0.6426, allocations: 15.98 kB / 0.9653 GB, free: 9.434 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.168e-05/0.6426, allocations: 45.81 kB / 0.9653 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.801e-05/0.6427, allocations: 66.19 kB / 0.9654 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.6427, allocations: 0 / 0.9654 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001409/0.6428, allocations: 97.61 kB / 0.9655 GB, free: 9.211 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.6429, allocations: 7.938 kB / 0.9655 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.6429, allocations: 0 / 0.9655 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.6429, allocations: 0 / 0.9655 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.643, allocations: 27.92 kB / 0.9655 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.643, allocations: 0 / 0.9655 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.305e-05/0.643, allocations: 8 kB / 0.9655 GB, free: 9.168 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.643, allocations: 4 kB / 0.9655 GB, free: 9.164 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.411e-05/0.6431, allocations: 121.7 kB / 0.9656 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.6431, allocations: 7.953 kB / 0.9656 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.6432, allocations: 11.91 kB / 0.9656 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6432, allocations: 0 / 0.9656 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.6432, allocations: 0 / 0.9656 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6432, allocations: 0 / 0.9656 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.6433, allocations: 177.6 kB / 0.9658 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6433, allocations: 4 kB / 0.9658 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.6434, allocations: 27.92 kB / 0.9658 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.6434, allocations: 0 / 0.9658 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.6434, allocations: 4 kB / 0.9659 GB, free: 8.762 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6434, allocations: 0 / 0.9659 GB, free: 8.762 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.6434, allocations: 0 / 0.9659 GB, free: 8.762 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.6436, allocations: 137.1 kB / 0.966 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.6437, allocations: 97.11 kB / 0.9661 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.6437, allocations: 4 kB / 0.9661 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.144e-05/0.6438, allocations: 8 kB / 0.9661 GB, free: 8.484 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.6439, allocations: 11.92 kB / 0.9661 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.6439, allocations: 0 / 0.9661 GB, free: 8.473 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.6439, allocations: 83.28 kB / 0.9662 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.6439, allocations: 0 / 0.9662 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001858/0.6441, allocations: 15.94 kB / 0.9662 GB, free: 8.375 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.0001133/0.6442, allocations: 103.3 kB / 0.9663 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001291/0.6443, allocations: 51.92 kB / 0.9663 GB, free: 8.211 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6443, allocations: 4 kB / 0.9663 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 3.789e-05/0.6444, allocations: 23.98 kB / 0.9664 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.6446, allocations: 9.719 kB / 0.9664 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.6451, allocations: 354.1 kB / 0.9667 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.6454, allocations: 0.6846 MB / 0.9674 GB, free: 7.09 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.6455, allocations: 15.38 kB / 0.9674 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of SimCode: time 3.21e-07/0.6455, allocations: 0 / 0.9674 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of Templates: time 0.002273/0.6477, allocations: 0.8398 MB / 0.9682 GB, free: 6.23 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: 7.927262493176386] Failed to read output from testmodel.py, exit status != 0: 0.6553982989862561 0.667582953 0.024796634 Calling exit ...