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.001426/0.001426, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.0016/0.0016, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.507/1.507, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.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.8454/0.8454, allocations: 133.9 MB / 442.8 MB, free: 11.34 MB / 350.1 MB " [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: "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [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.001939/0.001939, allocations: 70.42 kB / 0.6134 GB, free: 8.797 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1782, allocations: 85.86 MB / 0.6972 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002667/0.1808, allocations: 1.301 MB / 0.6985 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5763/0.7572, allocations: 150.3 MB / 0.8453 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.7572, allocations: 1.781 kB / 0.8453 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.7572, allocations: 1.781 kB / 0.8453 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.7573, allocations: 11.92 kB / 0.8453 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.7577, allocations: 91.69 kB / 0.8454 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.551e-05/0.7578, allocations: 39.44 kB / 0.8454 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.166e-05/0.7578, allocations: 2.781 kB / 0.8454 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.515e-05/0.7579, allocations: 13.31 kB / 0.8454 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/0.758, allocations: 21.31 kB / 0.8454 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.758, allocations: 0 / 0.8454 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.7582, allocations: 79.52 kB / 0.8455 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.7583, allocations: 14.58 kB / 0.8455 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.7583, allocations: 19.42 kB / 0.8455 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.7585, allocations: 62.55 kB / 0.8456 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-05/0.7585, allocations: 4 kB / 0.8456 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7585, allocations: 0 / 0.8456 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.7585, allocations: 0 / 0.8456 GB, free: 0.5938 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.0005656/0.7591, allocations: 349 kB / 0.8459 GB, free: 228 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.7591, allocations: 11.61 kB / 0.846 GB, free: 228 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.7592, allocations: 34.75 kB / 0.846 GB, free: 184 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.7594, allocations: 16.61 kB / 0.846 GB, free: 176 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.7595, allocations: 169.3 kB / 0.8462 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.7595, allocations: 3.938 kB / 0.8462 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.7596, allocations: 12.67 kB / 0.8462 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.7597, allocations: 51.72 kB / 0.8462 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.7597, allocations: 2.562 kB / 0.8462 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.7597, allocations: 7.984 kB / 0.8462 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.7597, allocations: 0 / 0.8462 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.281e-05/0.7598, allocations: 14.27 kB / 0.8463 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/0.76, allocations: 173.5 kB / 0.8464 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.7601, allocations: 50.5 kB / 0.8465 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.7601, allocations: 12.84 kB / 0.8465 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.7601, allocations: 0 / 0.8465 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.7602, allocations: 38.56 kB / 0.8465 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.7602, allocations: 0 / 0.8465 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.0008112/0.761, allocations: 372 kB / 0.8469 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.761, allocations: 51.41 kB / 0.8469 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.584e-05/0.7611, allocations: 97.84 kB / 0.847 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.7611, allocations: 29.7 kB / 0.847 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.7612, allocations: 80.14 kB / 0.8471 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.7612, allocations: 47.52 kB / 0.8472 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.7613, allocations: 29.84 kB / 0.8472 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.7614, allocations: 322.8 kB / 0.8475 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.327e-05/0.7615, allocations: 15.98 kB / 0.8475 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.648e-05/0.7616, allocations: 41.64 kB / 0.8476 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.461e-05/0.7617, allocations: 56.5 kB / 0.8476 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.7617, allocations: 4 kB / 0.8476 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001489/0.7618, allocations: 95.17 kB / 0.8477 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.7618, allocations: 12 kB / 0.8477 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.7618, allocations: 0 / 0.8477 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.7618, allocations: 0 / 0.8477 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.762, allocations: 23.98 kB / 0.8477 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.762, allocations: 0 / 0.8477 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.154e-05/0.762, allocations: 3.938 kB / 0.8477 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.762, allocations: 4 kB / 0.8477 GB, free: 14.18 MB / 0.6231 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 9.501e-05/0.7621, allocations: 121.7 kB / 0.8479 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.7621, allocations: 11.95 kB / 0.8479 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.7622, allocations: 11.97 kB / 0.8479 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.7622, allocations: 0 / 0.8479 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7622, allocations: 0.875 kB / 0.8479 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.7622, allocations: 3.984 kB / 0.8479 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.7623, allocations: 173.6 kB / 0.8481 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7623, allocations: 0 / 0.8481 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.7625, allocations: 23.98 kB / 0.8481 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7625, allocations: 0 / 0.8481 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.7625, allocations: 7.938 kB / 0.8481 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.7625, allocations: 3.938 kB / 0.8481 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7625, allocations: 0 / 0.8481 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.7627, allocations: 145 kB / 0.8482 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/0.7628, allocations: 81.11 kB / 0.8483 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.7628, allocations: 0 / 0.8483 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.576e-05/0.7629, allocations: 11.98 kB / 0.8483 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.379e-05/0.763, allocations: 4 kB / 0.8483 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.763, allocations: 0 / 0.8483 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.396e-05/0.763, allocations: 79.28 kB / 0.8484 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.763, allocations: 4 kB / 0.8484 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001972/0.7632, allocations: 19.94 kB / 0.8484 GB, free: 13.4 MB / 0.6231 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.0005207/0.7637, allocations: 0.6647 MB / 0.8491 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.7639, allocations: 56.84 kB / 0.8491 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7639, allocations: 4.094 kB / 0.8491 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.7639, allocations: 23.98 kB / 0.8492 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.7642, allocations: 13.03 kB / 0.8492 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.7657, allocations: 1.446 MB / 0.8506 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.7661, allocations: 0.6885 MB / 0.8512 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 4.95e-05/0.7661, allocations: 8.672 kB / 0.8513 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.7662, allocations: 15.44 kB / 0.8513 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.7662, allocations: 0 / 0.8513 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.7902, allocations: 1.691 MB / 0.8529 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/8.519, allocations: 6.5 kB / 0.8529 GB, free: 8.797 MB / 0.6231 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.244019492994994] Failed to read output from testmodel.py, exit status != 0: 8.589355839998461 8.617953894 7.8543579040000004 Calling exit ...