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.001342/0.001342, allocations: 113.3 kB / 18.94 MB, free: 2.934 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.001528/0.001528, allocations: 214 kB / 22.25 MB, free: 5.082 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 8.008 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.9075/0.9075, allocations: 134 MB / 446.4 MB, free: 10.27 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.001976/0.001976, allocations: 70.47 kB / 0.6185 GB, free: 7.258 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1886, allocations: 85.91 MB / 0.7024 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002604/0.1912, allocations: 1.301 MB / 0.7037 GB, free: 128 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6367/0.828, allocations: 150.3 MB / 0.8505 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.828, allocations: 0 / 0.8505 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.828, allocations: 0 / 0.8505 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.626e-05/0.8281, allocations: 3.938 kB / 0.8505 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.8286, allocations: 100.5 kB / 0.8506 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 7.821e-05/0.8286, allocations: 27.92 kB / 0.8506 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.8287, allocations: 7.984 kB / 0.8506 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.376e-05/0.8287, allocations: 12 kB / 0.8506 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.593e-05/0.8288, allocations: 15.92 kB / 0.8507 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.8288, allocations: 4 kB / 0.8507 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.8291, allocations: 83.75 kB / 0.8507 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.8291, allocations: 4 kB / 0.8507 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.8292, allocations: 19.91 kB / 0.8508 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.8294, allocations: 70.22 kB / 0.8508 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.8294, allocations: 4 kB / 0.8508 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8294, allocations: 0 / 0.8508 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.8294, allocations: 0 / 0.8508 GB, free: 14.88 MB / 0.6231 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.0004286/0.8298, allocations: 278.1 kB / 0.8511 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.8299, allocations: 12.03 kB / 0.8511 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.83, allocations: 34.75 kB / 0.8511 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.8301, allocations: 12.92 kB / 0.8512 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.8302, allocations: 106.5 kB / 0.8513 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.8303, allocations: 7.938 kB / 0.8513 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.8303, allocations: 11.95 kB / 0.8513 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.8304, allocations: 49.62 kB / 0.8513 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.8304, allocations: 3.984 kB / 0.8513 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.8304, allocations: 4.562 kB / 0.8513 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.8304, allocations: 0 / 0.8513 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.866e-05/0.8305, allocations: 15.98 kB / 0.8513 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000191/0.8307, allocations: 136.7 kB / 0.8515 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.8308, allocations: 54.61 kB / 0.8515 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.8308, allocations: 16.8 kB / 0.8515 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.8308, allocations: 1.219 kB / 0.8515 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.8309, allocations: 38.55 kB / 0.8516 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.8309, allocations: 0 / 0.8516 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.000733/0.8316, allocations: 289.1 kB / 0.8519 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/0.8316, allocations: 59.34 kB / 0.8519 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.335e-05/0.8317, allocations: 89.86 kB / 0.852 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.8317, allocations: 33.7 kB / 0.852 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.8318, allocations: 80.14 kB / 0.8521 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.8318, allocations: 47.72 kB / 0.8522 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.8319, allocations: 29.7 kB / 0.8522 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.832, allocations: 318.8 kB / 0.8525 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.633e-05/0.8321, allocations: 24.11 kB / 0.8525 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.495e-05/0.8321, allocations: 41.64 kB / 0.8526 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.79e-05/0.8322, allocations: 53.62 kB / 0.8526 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.8322, allocations: 0 / 0.8526 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001515/0.8324, allocations: 99.16 kB / 0.8527 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.8324, allocations: 8 kB / 0.8527 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.8324, allocations: 0 / 0.8527 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.8324, allocations: 0 / 0.8527 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.8325, allocations: 28 kB / 0.8527 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.8325, allocations: 3.984 kB / 0.8527 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.8326, allocations: 0 / 0.8527 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.8326, allocations: 4 kB / 0.8527 GB, free: 12.7 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 8.986e-05/0.8327, allocations: 121.7 kB / 0.8529 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.8327, allocations: 7.953 kB / 0.8529 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.8327, allocations: 11.91 kB / 0.8529 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.8327, allocations: 0 / 0.8529 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.8327, allocations: 0 / 0.8529 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.8327, allocations: 4 kB / 0.8529 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.8329, allocations: 144.7 kB / 0.853 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.8329, allocations: 0.8125 kB / 0.853 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.833, allocations: 19.98 kB / 0.853 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.833, allocations: 4 kB / 0.853 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.833, allocations: 7.938 kB / 0.853 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.833, allocations: 0 / 0.853 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.833, allocations: 0 / 0.853 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.8332, allocations: 149.5 kB / 0.8532 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.8333, allocations: 8.031 kB / 0.8532 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.8333, allocations: 0 / 0.8532 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/0.8334, allocations: 8 kB / 0.8532 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.8334, allocations: 3.984 kB / 0.8532 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-06/0.8334, allocations: 4 kB / 0.8532 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.038e-05/0.8335, allocations: 75.28 kB / 0.8533 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.8335, allocations: 0 / 0.8533 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002192/0.8337, allocations: 23.94 kB / 0.8533 GB, free: 12.06 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.0005156/0.8342, allocations: 0.671 MB / 0.854 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.8343, allocations: 56.94 kB / 0.854 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8343, allocations: 0 / 0.854 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.8344, allocations: 23.98 kB / 0.854 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.8346, allocations: 11.94 kB / 0.8541 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.8362, allocations: 1.446 MB / 0.8555 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.8365, allocations: 0.6885 MB / 0.8561 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.283e-05/0.8366, allocations: 8.672 kB / 0.8561 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.8366, allocations: 15.44 kB / 0.8562 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.8366, allocations: 0 / 0.8562 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.8681, allocations: 1.848 MB / 0.858 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.56, allocations: 2.953 kB / 0.858 GB, free: 7.297 MB / 0.6231 GB " [Timeout remaining time 648] (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: 15.475301776001288] Failed to read output from testmodel.py, exit status != 0: 11.666120100999251 11.693489099 10.858515713 Calling exit ...