Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001501/0.001501, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.001832/0.001832, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.555/1.555, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8525/0.8525, allocations: 101.3 MB / 361.1 MB, free: 9.551 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: IDEAS 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.002085/0.002085, allocations: 62.91 kB / 0.5356 GB, free: 5.254 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2033, allocations: 85.88 MB / 0.6195 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00267/0.206, allocations: 1.295 MB / 0.6207 GB, free: 300 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6441/0.8501, allocations: 129 MB / 0.7468 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.8501, allocations: 0 / 0.7468 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.8501, allocations: 7.781 kB / 0.7468 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.734e-05/0.8502, allocations: 6.672 kB / 0.7468 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.8507, allocations: 92.77 kB / 0.7469 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.642e-05/0.8508, allocations: 33.38 kB / 0.7469 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.8508, allocations: 8 kB / 0.7469 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.637e-05/0.8509, allocations: 19.81 kB / 0.7469 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.851, allocations: 10.28 kB / 0.7469 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.851, allocations: 1.281 kB / 0.7469 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.8512, allocations: 78.64 kB / 0.747 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.8513, allocations: 8.281 kB / 0.747 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.8513, allocations: 11.44 kB / 0.747 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.8515, allocations: 74.34 kB / 0.7471 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.8515, allocations: 5.062 kB / 0.7471 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8515, allocations: 0 / 0.7471 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.8515, allocations: 4 kB / 0.7471 GB, free: 13.45 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.0004684/0.852, allocations: 274.5 kB / 0.7474 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.852, allocations: 9.75 kB / 0.7474 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.8522, allocations: 10.34 kB / 0.7474 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.8523, allocations: 111.4 kB / 0.7475 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.8524, allocations: 8.594 kB / 0.7475 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.8524, allocations: 8.422 kB / 0.7475 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.8526, allocations: 127 kB / 0.7476 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.8526, allocations: 1.938 kB / 0.7476 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.8526, allocations: 5.969 kB / 0.7476 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.8526, allocations: 1.312 kB / 0.7476 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.449e-05/0.8527, allocations: 20.94 kB / 0.7477 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.8528, allocations: 111.3 kB / 0.7478 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.853, allocations: 45.02 kB / 0.7478 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.853, allocations: 17.98 kB / 0.7478 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.853, allocations: 0.9688 kB / 0.7478 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.853, allocations: 37.88 kB / 0.7479 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.853, allocations: 0 / 0.7479 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0007832/0.8538, allocations: 299.4 kB / 0.7482 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.8539, allocations: 52.47 kB / 0.7482 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.854, allocations: 97.45 kB / 0.7483 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.854, allocations: 27.98 kB / 0.7483 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.854, allocations: 84.77 kB / 0.7484 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.097e-05/0.8541, allocations: 42.31 kB / 0.7484 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.8541, allocations: 30.12 kB / 0.7485 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.8543, allocations: 319.5 kB / 0.7488 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.659e-05/0.8543, allocations: 19.06 kB / 0.7488 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.263e-05/0.8544, allocations: 40.59 kB / 0.7488 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.594e-05/0.8545, allocations: 62.61 kB / 0.7489 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.8545, allocations: 0.9375 kB / 0.7489 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001417/0.8546, allocations: 92.31 kB / 0.749 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.8546, allocations: 4.906 kB / 0.749 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.8546, allocations: 0 / 0.749 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.8546, allocations: 1.344 kB / 0.749 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.8548, allocations: 30.67 kB / 0.749 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.8548, allocations: 1.125 kB / 0.749 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.227e-05/0.8548, allocations: 1.156 kB / 0.749 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.8548, allocations: 3.406 kB / 0.749 GB, free: 11.83 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 0.0001032/0.8549, allocations: 128.6 kB / 0.7491 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.8549, allocations: 6.328 kB / 0.7491 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.686e-05/0.855, allocations: 11.78 kB / 0.7492 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.855, allocations: 2.938 kB / 0.7492 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.855, allocations: 1.188 kB / 0.7492 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.855, allocations: 0 / 0.7492 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.8551, allocations: 119.1 kB / 0.7493 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.8551, allocations: 1.094 kB / 0.7493 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.8552, allocations: 23.78 kB / 0.7493 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.8552, allocations: 1.594 kB / 0.7493 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.8552, allocations: 4 kB / 0.7493 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.8552, allocations: 5.188 kB / 0.7493 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8552, allocations: 1.562 kB / 0.7493 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.8555, allocations: 139.5 kB / 0.7494 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.8555, allocations: 9.156 kB / 0.7495 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.8555, allocations: 1.281 kB / 0.7495 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.8556, allocations: 5.781 kB / 0.7495 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.8556, allocations: 11.19 kB / 0.7495 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.8557, allocations: 3.469 kB / 0.7495 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.275e-05/0.8557, allocations: 80.38 kB / 0.7496 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8557, allocations: 0 / 0.7496 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001962/0.8559, allocations: 16.31 kB / 0.7496 GB, free: 11.41 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.0001071/0.856, allocations: 98.88 kB / 0.7497 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.8561, allocations: 56.56 kB / 0.7497 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.8561, allocations: 0 / 0.7497 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.8562, allocations: 24.33 kB / 0.7497 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.8564, allocations: 11.53 kB / 0.7498 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.857, allocations: 320.7 kB / 0.7501 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.221e-05/0.8571, allocations: 70.55 kB / 0.7501 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.674e-05/0.8572, allocations: 14.52 kB / 0.7501 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.714e-05/0.8572, allocations: 13.44 kB / 0.7502 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.8572, allocations: 0 / 0.7502 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of Templates: time 0.00328/0.8605, allocations: 0.6159 MB / 0.7508 GB, free: 10.88 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.520639889058657] Failed to read output from testmodel.py, exit status != 0: 0.8687068070285022 0.883161209 0.028752178000000003 Calling exit ...