Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.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.001313/0.001313, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001561/0.001561, allocations: 213.3 kB / 22.25 MB, free: 5.262 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.789 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.8861/0.8861, allocations: 134 MB / 446.4 MB, free: 9.945 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.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirDerivativeCheck",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.002028/0.002028, allocations: 66.69 kB / 0.6185 GB, free: 6.918 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1704, allocations: 85.92 MB / 0.7024 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002563/0.1729, allocations: 1.321 MB / 0.7036 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5449/0.7178, allocations: 130 MB / 0.8306 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/0.7179, allocations: 2.562 kB / 0.8306 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.929e-05/0.7179, allocations: 0 / 0.8306 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.718, allocations: 22.53 kB / 0.8307 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.7192, allocations: 328.3 kB / 0.831 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.7194, allocations: 67.14 kB / 0.831 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.7194, allocations: 3.312 kB / 0.831 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.01e-05/0.7194, allocations: 28.16 kB / 0.8311 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.7196, allocations: 34.17 kB / 0.8311 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.7196, allocations: 5.25 kB / 0.8311 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000809/0.7204, allocations: 376.7 kB / 0.8315 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.268e-05/0.7204, allocations: 20.72 kB / 0.8315 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.7205, allocations: 21.34 kB / 0.8315 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.7209, allocations: 166.3 kB / 0.8317 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7209, allocations: 0 / 0.8317 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7209, allocations: 0 / 0.8317 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.7209, allocations: 0 / 0.8317 GB, free: 12.66 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005561/0.7214, allocations: 309.9 kB / 0.832 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.7215, allocations: 10.47 kB / 0.832 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.818e-05/0.7215, allocations: 37.44 kB / 0.832 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004213/0.7219, allocations: 42.38 kB / 0.8321 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.7221, allocations: 108.9 kB / 0.8322 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.7221, allocations: 14.59 kB / 0.8322 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.7221, allocations: 13.42 kB / 0.8322 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.7224, allocations: 210 kB / 0.8324 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.7224, allocations: 0 / 0.8324 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.7224, allocations: 2.812 kB / 0.8324 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.7224, allocations: 0 / 0.8324 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.7225, allocations: 43.98 kB / 0.8324 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.7228, allocations: 152.9 kB / 0.8326 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.723, allocations: 93 kB / 0.8327 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.775e-05/0.723, allocations: 29.31 kB / 0.8327 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.7232, allocations: 24.08 kB / 0.8327 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.7233, allocations: 33.08 kB / 0.8327 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.7233, allocations: 0 / 0.8327 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001386/0.7247, allocations: 487.9 kB / 0.8332 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.7247, allocations: 54.31 kB / 0.8333 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.679e-05/0.7248, allocations: 104.6 kB / 0.8334 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.7248, allocations: 33.64 kB / 0.8334 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.7249, allocations: 83.14 kB / 0.8335 GB, free: 11 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.911e-05/0.7249, allocations: 79.27 kB / 0.8335 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.725, allocations: 43.14 kB / 0.8336 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.7251, allocations: 321.8 kB / 0.8339 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.541e-05/0.7252, allocations: 37.03 kB / 0.8339 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.396e-05/0.7253, allocations: 66.25 kB / 0.834 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.7255, allocations: 116.5 kB / 0.8341 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.7255, allocations: 2.75 kB / 0.8341 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002272/0.7257, allocations: 154.2 kB / 0.8343 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.7257, allocations: 7.688 kB / 0.8343 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.7257, allocations: 0 / 0.8343 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.7257, allocations: 1.969 kB / 0.8343 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.7259, allocations: 44.7 kB / 0.8343 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-06/0.7259, allocations: 0 / 0.8343 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.726, allocations: 10.44 kB / 0.8343 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.726, allocations: 10.45 kB / 0.8343 GB, free: 10.33 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.0001124/0.7261, allocations: 127.5 kB / 0.8345 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/0.7261, allocations: 9.297 kB / 0.8345 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.7262, allocations: 16.45 kB / 0.8345 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7262, allocations: 2.188 kB / 0.8345 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7262, allocations: 0 / 0.8345 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.7262, allocations: 3.938 kB / 0.8345 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.7264, allocations: 162.4 kB / 0.8346 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.7264, allocations: 0 / 0.8346 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.7266, allocations: 37.14 kB / 0.8347 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.7266, allocations: 2.719 kB / 0.8347 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.7266, allocations: 4.875 kB / 0.8347 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.7266, allocations: 6.844 kB / 0.8347 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7266, allocations: 0 / 0.8347 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.7269, allocations: 212.5 kB / 0.8349 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.7269, allocations: 12.42 kB / 0.8349 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.7269, allocations: 3.75 kB / 0.8349 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.7271, allocations: 9.031 kB / 0.8349 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.7271, allocations: 18.61 kB / 0.8349 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.7271, allocations: 17.62 kB / 0.8349 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.17e-05/0.7272, allocations: 77.97 kB / 0.835 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.7272, allocations: 0 / 0.835 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002161/0.7274, allocations: 29.25 kB / 0.835 GB, free: 9.727 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0006159/0.728, allocations: 0.7417 MB / 0.8358 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.7282, allocations: 96.95 kB / 0.8359 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.7282, allocations: 3.312 kB / 0.8359 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.423e-05/0.7282, allocations: 57 kB / 0.8359 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.7285, allocations: 25.23 kB / 0.8359 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.7305, allocations: 1.814 MB / 0.8377 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.354e-05/0.7305, allocations: 85.62 kB / 0.8378 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.7306, allocations: 20.89 kB / 0.8378 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.7307, allocations: 29.98 kB / 0.8378 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.7307, allocations: 0 / 0.8378 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.7609, allocations: 2.955 MB / 0.8407 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.76, allocations: 10.62 kB / 0.8407 GB, free: 5.207 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.AirDerivativeCheck_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_Examples_AirDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.575280528981239] Failed to read output from testmodel.py, exit status != 0: 11.86233488516882 11.884578697 11.159634554 Calling exit ...