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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.8089/0.8089, allocations: 134 MB / 436.6 MB, free: 1.254 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 63.92 kB / 0.6051 GB, free: 15.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1524, allocations: 84.67 MB / 0.6878 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002448/0.1548, allocations: 1.346 MB / 0.6891 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5112/0.6661, allocations: 148.5 MB / 0.8341 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.6661, allocations: 0 / 0.8341 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.851e-05/0.6662, allocations: 3.938 kB / 0.8341 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.844e-05/0.6663, allocations: 9.797 kB / 0.8341 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000961/0.6672, allocations: 340 kB / 0.8345 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.6673, allocations: 64.69 kB / 0.8345 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.6674, allocations: 6.844 kB / 0.8345 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.005e-05/0.6674, allocations: 26.69 kB / 0.8346 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.76e-05/0.6675, allocations: 40.73 kB / 0.8346 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.6675, allocations: 2 kB / 0.8346 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007899/0.6683, allocations: 443 kB / 0.835 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.6684, allocations: 16.64 kB / 0.835 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.6684, allocations: 32.67 kB / 0.8351 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.6687, allocations: 155.1 kB / 0.8352 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6687, allocations: 0 / 0.8352 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6687, allocations: 0 / 0.8352 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.6687, allocations: 3.062 kB / 0.8352 GB, free: 1.109 MB / 0.5919 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.0004904/0.6692, allocations: 392.7 kB / 0.8356 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.6692, allocations: 16.19 kB / 0.8356 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.6693, allocations: 34.73 kB / 0.8356 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003854/0.6697, allocations: 40.08 kB / 0.8357 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.6698, allocations: 168.3 kB / 0.8358 GB, free: 452 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.6698, allocations: 6.531 kB / 0.8359 GB, free: 448 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.6698, allocations: 12.12 kB / 0.8359 GB, free: 444 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.67, allocations: 77.95 kB / 0.8359 GB, free: 384 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.67, allocations: 0 / 0.8359 GB, free: 384 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.67, allocations: 6.969 kB / 0.8359 GB, free: 380 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.67, allocations: 4 kB / 0.8359 GB, free: 376 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.219e-05/0.6701, allocations: 44.44 kB / 0.836 GB, free: 356 kB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.6703, allocations: 195.1 kB / 0.8362 GB, free: 128 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.6705, allocations: 82.41 kB / 0.8363 GB, free: 76 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.338e-05/0.6706, allocations: 35.83 kB / 0.8363 GB, free: 52 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003432/0.6709, allocations: 176.3 kB / 0.8365 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.6709, allocations: 37.22 kB / 0.8365 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.6709, allocations: 0 / 0.8365 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.00129/0.6722, allocations: 0.5435 MB / 0.837 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.6723, allocations: 61.58 kB / 0.8371 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.6724, allocations: 96.42 kB / 0.8372 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.6724, allocations: 29.7 kB / 0.8372 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.6725, allocations: 86.58 kB / 0.8373 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.6725, allocations: 77.33 kB / 0.8374 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.6726, allocations: 34.47 kB / 0.8374 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6727, allocations: 325.1 kB / 0.8377 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.049e-05/0.6728, allocations: 33.3 kB / 0.8377 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.36e-05/0.6729, allocations: 77.53 kB / 0.8378 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.673, allocations: 110.8 kB / 0.8379 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.673, allocations: 0 / 0.8379 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002142/0.6733, allocations: 162 kB / 0.8381 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.6733, allocations: 5.594 kB / 0.8381 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.6733, allocations: 0 / 0.8381 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.6733, allocations: 2.594 kB / 0.8381 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.6735, allocations: 43.45 kB / 0.8381 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.6735, allocations: 2.844 kB / 0.8381 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.408e-05/0.6735, allocations: 10.44 kB / 0.8381 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.6735, allocations: 5.031 kB / 0.8381 GB, free: 14.45 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 9.867e-05/0.6736, allocations: 123.9 kB / 0.8383 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.6736, allocations: 12.2 kB / 0.8383 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.6737, allocations: 20.42 kB / 0.8383 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.6737, allocations: 2.594 kB / 0.8383 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6737, allocations: 0 / 0.8383 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.6737, allocations: 3.938 kB / 0.8383 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.6739, allocations: 188.5 kB / 0.8385 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6739, allocations: 3.938 kB / 0.8385 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.6741, allocations: 43.73 kB / 0.8385 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6741, allocations: 3.938 kB / 0.8385 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.6741, allocations: 2.75 kB / 0.8385 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.6741, allocations: 0 / 0.8385 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6741, allocations: 4 kB / 0.8385 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.6744, allocations: 211.2 kB / 0.8387 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.6745, allocations: 92.36 kB / 0.8388 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.6745, allocations: 4.062 kB / 0.8388 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.6747, allocations: 13.05 kB / 0.8388 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.6747, allocations: 13.05 kB / 0.8388 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.6747, allocations: 5.844 kB / 0.8389 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.098e-05/0.6747, allocations: 83.28 kB / 0.8389 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.6747, allocations: 2.406 kB / 0.8389 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002469/0.675, allocations: 24.56 kB / 0.839 GB, free: 13.71 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.0006593/0.6756, allocations: 0.7541 MB / 0.8397 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.6758, allocations: 107.5 kB / 0.8398 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6758, allocations: 6.188 kB / 0.8398 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.953e-05/0.6759, allocations: 46.42 kB / 0.8398 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.6761, allocations: 21.5 kB / 0.8399 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.6781, allocations: 1.812 MB / 0.8416 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.6784, allocations: 0.6972 MB / 0.8423 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.6785, allocations: 26.88 kB / 0.8423 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.6786, allocations: 26.92 kB / 0.8424 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.6786, allocations: 0 / 0.8424 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.7091, allocations: 2.428 MB / 0.8447 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.729, allocations: 5.516 kB / 0.8447 GB, free: 9.355 MB / 0.6075 GB " [Timeout remaining time 651] (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: 12.050167874898762] Failed to read output from testmodel.py, exit status != 0: 8.792676995974034 8.806504875 8.134805323 Calling exit ...