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.001369/0.001369, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001479/0.001479, allocations: 218.3 kB / 22.26 MB, free: 5.125 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.992 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.8453/0.8453, allocations: 134 MB / 446.4 MB, free: 10.24 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.001976/0.001976, allocations: 75.3 kB / 0.6185 GB, free: 7.242 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1628, allocations: 85.9 MB / 0.7024 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002435/0.1652, allocations: 1.357 MB / 0.7037 GB, free: 56 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5055/0.6707, allocations: 151.4 MB / 0.8516 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.6707, allocations: 0 / 0.8516 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 4.312e-05/0.6708, allocations: 3.984 kB / 0.8516 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 9.892e-05/0.6709, allocations: 19.84 kB / 0.8516 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.672, allocations: 338.6 kB / 0.852 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.6721, allocations: 67.75 kB / 0.852 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.421e-05/0.6722, allocations: 0 / 0.852 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.927e-05/0.6722, allocations: 31.91 kB / 0.8521 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.6724, allocations: 35.89 kB / 0.8521 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.6724, allocations: 4 kB / 0.8521 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009266/0.6733, allocations: 444.7 kB / 0.8525 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.753e-05/0.6734, allocations: 27.92 kB / 0.8525 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.6734, allocations: 19.92 kB / 0.8526 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.6737, allocations: 163.5 kB / 0.8527 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6737, allocations: 0 / 0.8527 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6737, allocations: 0 / 0.8527 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.6737, allocations: 0 / 0.8527 GB, free: 12.81 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004508/0.6742, allocations: 307 kB / 0.853 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.6742, allocations: 16.03 kB / 0.853 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.6743, allocations: 38.73 kB / 0.8531 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/0.6746, allocations: 40.84 kB / 0.8531 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.6748, allocations: 114.5 kB / 0.8532 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.6748, allocations: 7.938 kB / 0.8532 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.6748, allocations: 11.95 kB / 0.8532 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.675, allocations: 90.72 kB / 0.8533 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.675, allocations: 0 / 0.8533 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.675, allocations: 0 / 0.8533 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.675, allocations: 4 kB / 0.8533 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.6751, allocations: 48.98 kB / 0.8534 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.6754, allocations: 152.7 kB / 0.8535 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.6756, allocations: 86.62 kB / 0.8536 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.6756, allocations: 24.84 kB / 0.8536 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001822/0.6758, allocations: 31.98 kB / 0.8536 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.6758, allocations: 38.55 kB / 0.8537 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.6758, allocations: 0 / 0.8537 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.001324/0.6771, allocations: 485 kB / 0.8541 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.6772, allocations: 51.41 kB / 0.8542 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.484e-05/0.6773, allocations: 105.7 kB / 0.8543 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.6773, allocations: 29.7 kB / 0.8543 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.6773, allocations: 86.86 kB / 0.8544 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.6774, allocations: 71.39 kB / 0.8545 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.31e-05/0.6775, allocations: 45.64 kB / 0.8545 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.6776, allocations: 327 kB / 0.8548 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-05/0.6777, allocations: 31.98 kB / 0.8549 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.742e-05/0.6778, allocations: 74.66 kB / 0.8549 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.678, allocations: 114.3 kB / 0.855 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.678, allocations: 0 / 0.855 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00023/0.6782, allocations: 149.5 kB / 0.8552 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.6782, allocations: 12 kB / 0.8552 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.6782, allocations: 0 / 0.8552 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.6783, allocations: 4 kB / 0.8552 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.6784, allocations: 39.92 kB / 0.8552 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.6784, allocations: 7.984 kB / 0.8552 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.277e-05/0.6785, allocations: 3.938 kB / 0.8552 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.6785, allocations: 12 kB / 0.8553 GB, free: 9.973 MB / 0.6231 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.0001035/0.6786, allocations: 121.8 kB / 0.8554 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.6786, allocations: 7.953 kB / 0.8554 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.6787, allocations: 20.47 kB / 0.8554 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.6787, allocations: 4 kB / 0.8554 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.6787, allocations: 0 / 0.8554 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.6787, allocations: 3.938 kB / 0.8554 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.679, allocations: 164.7 kB / 0.8556 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.679, allocations: 7.734 kB / 0.8556 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.6792, allocations: 39.98 kB / 0.8556 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.6792, allocations: 3.938 kB / 0.8556 GB, free: 9.562 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.6792, allocations: 3.938 kB / 0.8556 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.6792, allocations: 4 kB / 0.8556 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6792, allocations: 4 kB / 0.8556 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.6795, allocations: 210.9 kB / 0.8558 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.6796, allocations: 7.984 kB / 0.8558 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.6796, allocations: 12.05 kB / 0.8558 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.6797, allocations: 8 kB / 0.8559 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.6797, allocations: 15.88 kB / 0.8559 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.6797, allocations: 7.984 kB / 0.8559 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.536e-05/0.6798, allocations: 83.28 kB / 0.856 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6798, allocations: 0 / 0.856 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002307/0.68, allocations: 28 kB / 0.856 GB, free: 9.168 MB / 0.6231 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.0006186/0.6806, allocations: 0.7412 MB / 0.8567 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.6809, allocations: 103.4 kB / 0.8568 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6809, allocations: 3.938 kB / 0.8568 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.992e-05/0.6809, allocations: 55.88 kB / 0.8569 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.6812, allocations: 19.91 kB / 0.8569 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.6833, allocations: 1.812 MB / 0.8587 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.6836, allocations: 0.6969 MB / 0.8593 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.6837, allocations: 24.64 kB / 0.8594 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.6837, allocations: 27.42 kB / 0.8594 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.6837, allocations: 0 / 0.8594 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.7134, allocations: 2.65 MB / 0.862 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.46, allocations: 6.812 kB / 0.862 GB, free: 3.027 MB / 0.6231 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.19274263400439] Failed to read output from testmodel.py, exit status != 0: 11.566103363002185 11.591217965 10.912992551 Calling exit ...