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.001326/0.001326, 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.001619/0.001619, allocations: 221.5 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.969 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.8774/0.8774, allocations: 134 MB / 446.4 MB, free: 10.19 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.00197/0.00197, allocations: 77.41 kB / 0.6185 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1641, allocations: 85.9 MB / 0.7024 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002364/0.1664, allocations: 1.353 MB / 0.7037 GB, free: 28 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5503/0.7167, allocations: 151.4 MB / 0.8516 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.7168, allocations: 0 / 0.8516 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 5.824e-05/0.7168, allocations: 7.922 kB / 0.8516 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.717, allocations: 15.92 kB / 0.8516 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.7181, allocations: 333.7 kB / 0.8519 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.000141/0.7183, allocations: 67.77 kB / 0.852 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.7183, allocations: 7.984 kB / 0.852 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.887e-05/0.7184, allocations: 35.91 kB / 0.8521 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.7185, allocations: 31.89 kB / 0.8521 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.7185, allocations: 4 kB / 0.8521 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009721/0.7195, allocations: 441 kB / 0.8525 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 7.451e-05/0.7195, allocations: 19.92 kB / 0.8525 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 6.877e-05/0.7196, allocations: 31.91 kB / 0.8526 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.72, allocations: 159.3 kB / 0.8527 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.72, allocations: 0 / 0.8527 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.292e-06/0.72, allocations: 0 / 0.8527 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.72, allocations: 4 kB / 0.8527 GB, free: 12.77 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.0005529/0.7206, allocations: 320.6 kB / 0.853 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.7206, allocations: 8.031 kB / 0.853 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.124e-05/0.7207, allocations: 34.75 kB / 0.8531 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004273/0.7211, allocations: 40.84 kB / 0.8531 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.7212, allocations: 110.5 kB / 0.8532 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.7213, allocations: 11.94 kB / 0.8532 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.7213, allocations: 19.89 kB / 0.8532 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.7215, allocations: 78.12 kB / 0.8533 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.7215, allocations: 0 / 0.8533 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.7215, allocations: 8 kB / 0.8533 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.7215, allocations: 0 / 0.8533 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.867e-05/0.7216, allocations: 43.95 kB / 0.8534 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002187/0.7218, allocations: 152.7 kB / 0.8535 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.722, allocations: 91.28 kB / 0.8536 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.869e-05/0.7221, allocations: 36.77 kB / 0.8536 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.7222, allocations: 19.98 kB / 0.8536 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.7223, allocations: 34.56 kB / 0.8537 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.7223, allocations: 0 / 0.8537 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.00135/0.7236, allocations: 489.5 kB / 0.8541 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.7237, allocations: 55.41 kB / 0.8542 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.841e-05/0.7238, allocations: 101.8 kB / 0.8543 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.7238, allocations: 29.7 kB / 0.8543 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.7238, allocations: 88.58 kB / 0.8544 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.634e-05/0.7239, allocations: 75.36 kB / 0.8545 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/0.724, allocations: 49.7 kB / 0.8545 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.7241, allocations: 310.8 kB / 0.8548 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.499e-05/0.7242, allocations: 39.97 kB / 0.8549 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.886e-05/0.7243, allocations: 74.41 kB / 0.8549 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.7245, allocations: 118.2 kB / 0.855 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.7245, allocations: 0 / 0.855 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002508/0.7247, allocations: 157.5 kB / 0.8552 GB, free: 10 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.7248, allocations: 4 kB / 0.8552 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7248, allocations: 4 kB / 0.8552 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.7248, allocations: 0 / 0.8552 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.725, allocations: 39.92 kB / 0.8552 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.725, allocations: 0 / 0.8552 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.725, allocations: 11.94 kB / 0.8553 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.725, allocations: 8 kB / 0.8553 GB, free: 9.938 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.0001167/0.7252, allocations: 125.8 kB / 0.8554 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.7252, allocations: 11.95 kB / 0.8554 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.558e-05/0.7252, allocations: 16.47 kB / 0.8554 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.7252, allocations: 0 / 0.8554 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.7252, allocations: 4 kB / 0.8554 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.7253, allocations: 3.938 kB / 0.8554 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.7254, allocations: 166.6 kB / 0.8556 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7254, allocations: 0 / 0.8556 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.7257, allocations: 39.92 kB / 0.8556 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.7257, allocations: 4 kB / 0.8556 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.7257, allocations: 7.984 kB / 0.8556 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.7257, allocations: 1.641 kB / 0.8556 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7257, allocations: 0 / 0.8556 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.7261, allocations: 207.3 kB / 0.8558 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.7261, allocations: 16.05 kB / 0.8558 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.7262, allocations: 0 / 0.8558 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.7263, allocations: 15.98 kB / 0.8559 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.7263, allocations: 15.88 kB / 0.8559 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.7263, allocations: 15.94 kB / 0.8559 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.7264, allocations: 75.28 kB / 0.856 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.7264, allocations: 3.938 kB / 0.856 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002356/0.7266, allocations: 28 kB / 0.856 GB, free: 9.133 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.0007001/0.7273, allocations: 0.7421 MB / 0.8567 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.7275, allocations: 99.89 kB / 0.8568 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7275, allocations: 0 / 0.8568 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.875e-05/0.7276, allocations: 57.92 kB / 0.8569 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.7279, allocations: 21.44 kB / 0.8569 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.7301, allocations: 1.809 MB / 0.8586 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.7304, allocations: 0.7047 MB / 0.8593 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.7305, allocations: 24.62 kB / 0.8594 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.757e-05/0.7306, allocations: 23.44 kB / 0.8594 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/0.7306, allocations: 0 / 0.8594 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.7634, allocations: 2.643 MB / 0.862 GB, free: 3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.73, allocations: 14.11 kB / 0.862 GB, free: 2.992 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.347420524107292] Failed to read output from testmodel.py, exit status != 0: 11.833124015014619 11.849804141 11.126495503 Calling exit ...