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.001427/0.001427, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001668/0.001668, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.426/1.426, 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.8183/0.8183, 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.002012/0.002012, allocations: 63.39 kB / 0.6185 GB, free: 6.902 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1683, allocations: 85.91 MB / 0.7024 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.003212/0.1715, allocations: 1.33 MB / 0.7037 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5258/0.6973, allocations: 130 MB / 0.8306 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.6973, allocations: 0 / 0.8306 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.591e-05/0.6974, allocations: 7.922 kB / 0.8307 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.6975, allocations: 14.55 kB / 0.8307 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.6985, allocations: 330 kB / 0.831 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.6986, allocations: 62.31 kB / 0.831 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.6987, allocations: 8 kB / 0.8311 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.947e-05/0.6987, allocations: 30.25 kB / 0.8311 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.646e-05/0.6988, allocations: 30.48 kB / 0.8311 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.6988, allocations: 5.719 kB / 0.8311 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006904/0.6995, allocations: 370 kB / 0.8315 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.419e-05/0.6996, allocations: 25.38 kB / 0.8315 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.6996, allocations: 22.7 kB / 0.8315 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.6999, allocations: 157.6 kB / 0.8317 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.6999, allocations: 2.562 kB / 0.8317 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6999, allocations: 4 kB / 0.8317 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.6999, allocations: 0 / 0.8317 GB, free: 12.64 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.0005029/0.7004, allocations: 306.4 kB / 0.832 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.7005, allocations: 7.906 kB / 0.832 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/0.7005, allocations: 41.64 kB / 0.832 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004004/0.7009, allocations: 37.89 kB / 0.832 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.701, allocations: 109.4 kB / 0.8322 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.701, allocations: 6.781 kB / 0.8322 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.7011, allocations: 27.53 kB / 0.8322 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.7013, allocations: 207.1 kB / 0.8324 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.7013, allocations: 0 / 0.8324 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.7014, allocations: 7.938 kB / 0.8324 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.7014, allocations: 3.094 kB / 0.8324 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.397e-05/0.7015, allocations: 39.39 kB / 0.8324 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.7017, allocations: 161.4 kB / 0.8326 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.7019, allocations: 81.33 kB / 0.8327 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.181e-05/0.702, allocations: 30.03 kB / 0.8327 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/0.7022, allocations: 27.89 kB / 0.8327 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.289e-05/0.7022, allocations: 41.2 kB / 0.8328 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.7022, allocations: 0 / 0.8328 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001472/0.7037, allocations: 474.7 kB / 0.8332 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.7037, allocations: 54.12 kB / 0.8333 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.7039, allocations: 108.1 kB / 0.8334 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.7039, allocations: 28.64 kB / 0.8334 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.704, allocations: 88.45 kB / 0.8335 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.567e-05/0.704, allocations: 71.31 kB / 0.8335 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.463e-05/0.7041, allocations: 45.7 kB / 0.8336 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.7043, allocations: 321.7 kB / 0.8339 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.7044, allocations: 34.48 kB / 0.8339 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.7045, allocations: 72.12 kB / 0.834 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.7047, allocations: 110 kB / 0.8341 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.7047, allocations: 128 / 0.8341 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002675/0.705, allocations: 162.6 kB / 0.8343 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.705, allocations: 5.375 kB / 0.8343 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.705, allocations: 6.469 kB / 0.8343 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.705, allocations: 0 / 0.8343 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.7052, allocations: 39.52 kB / 0.8343 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.7052, allocations: 7.016 kB / 0.8343 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.022e-05/0.7053, allocations: 10.56 kB / 0.8343 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.7053, allocations: 2.719 kB / 0.8343 GB, free: 10.31 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.0001326/0.7054, allocations: 125.8 kB / 0.8344 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.7055, allocations: 6.578 kB / 0.8344 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.991e-05/0.7055, allocations: 27.11 kB / 0.8345 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.7055, allocations: 0 / 0.8345 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.7055, allocations: 2.312 kB / 0.8345 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.7056, allocations: 3.938 kB / 0.8345 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.7058, allocations: 156 kB / 0.8346 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7058, allocations: 0 / 0.8346 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.706, allocations: 43.52 kB / 0.8347 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.706, allocations: 0 / 0.8347 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.706, allocations: 2.906 kB / 0.8347 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.706, allocations: 0 / 0.8347 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.706, allocations: 0 / 0.8347 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.7064, allocations: 225.5 kB / 0.8349 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.7064, allocations: 9.828 kB / 0.8349 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.7065, allocations: 6.656 kB / 0.8349 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.7066, allocations: 6.688 kB / 0.8349 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.7066, allocations: 20.7 kB / 0.8349 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.7067, allocations: 3.094 kB / 0.8349 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.7067, allocations: 81.91 kB / 0.835 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.7067, allocations: 3.938 kB / 0.835 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002207/0.7069, allocations: 25.16 kB / 0.835 GB, free: 9.711 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.0006335/0.7076, allocations: 0.7445 MB / 0.8358 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.7078, allocations: 105.1 kB / 0.8359 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/0.7078, allocations: 4 kB / 0.8359 GB, free: 9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.908e-05/0.7078, allocations: 55.98 kB / 0.8359 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.7081, allocations: 13.19 kB / 0.8359 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.7102, allocations: 1.816 MB / 0.8377 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.7103, allocations: 85.94 kB / 0.8378 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.7104, allocations: 27.19 kB / 0.8378 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.071e-05/0.7105, allocations: 23.47 kB / 0.8378 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.7105, allocations: 0 / 0.8378 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.7409, allocations: 2.975 MB / 0.8407 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.65, allocations: 9.078 kB / 0.8408 GB, free: 5.195 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 & /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.116570829413831] Failed to read output from testmodel.py, exit status != 0: 11.754007835872471 11.769850304 11.066767595 Calling exit ...