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.001439/0.001439, allocations: 83.97 kB / 19.77 MB, free: 2.027 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.001595/0.001595, allocations: 158.1 kB / 23.01 MB, free: 4.945 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.8037/0.8037, allocations: 101.3 MB / 361.1 MB, free: 9.535 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirDerivativeCheck") translateModel(IDEAS.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirDerivativeCheck") [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.002132/0.002132, allocations: 66.78 kB / 0.5356 GB, free: 5.234 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1982, allocations: 85.88 MB / 0.6195 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.002584/0.2007, allocations: 1.34 MB / 0.6208 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4903/0.6911, allocations: 130 MB / 0.7478 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.6911, allocations: 0 / 0.7478 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.258e-05/0.6911, allocations: 6.438 kB / 0.7478 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.6913, allocations: 23.53 kB / 0.7478 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009547/0.6922, allocations: 322.6 kB / 0.7481 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.6923, allocations: 67.11 kB / 0.7482 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.6923, allocations: 6.625 kB / 0.7482 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.266e-05/0.6924, allocations: 30.66 kB / 0.7482 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.658e-05/0.6925, allocations: 29.5 kB / 0.7482 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.6925, allocations: 4.219 kB / 0.7482 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007566/0.6933, allocations: 375 kB / 0.7486 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.6933, allocations: 22.16 kB / 0.7486 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.6934, allocations: 23.17 kB / 0.7486 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.6937, allocations: 157.8 kB / 0.7488 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6937, allocations: 0 / 0.7488 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6937, allocations: 7.625 kB / 0.7488 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.6937, allocations: 0 / 0.7488 GB, free: 13.25 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.0005087/0.6942, allocations: 307.8 kB / 0.7491 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.6942, allocations: 10.22 kB / 0.7491 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000412/0.6947, allocations: 40.64 kB / 0.7491 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.6948, allocations: 108.5 kB / 0.7492 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.6948, allocations: 9.531 kB / 0.7493 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.6948, allocations: 13.08 kB / 0.7493 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.6951, allocations: 214.8 kB / 0.7495 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.6951, allocations: 0 / 0.7495 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.6951, allocations: 3.531 kB / 0.7495 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6951, allocations: 2.344 kB / 0.7495 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.6952, allocations: 46.25 kB / 0.7495 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.6954, allocations: 131.3 kB / 0.7497 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.6956, allocations: 82.41 kB / 0.7497 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.168e-05/0.6956, allocations: 29.38 kB / 0.7498 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001665/0.6958, allocations: 24.08 kB / 0.7498 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.6958, allocations: 38.97 kB / 0.7498 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.6958, allocations: 3.938 kB / 0.7498 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001306/0.6971, allocations: 476.1 kB / 0.7503 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.6972, allocations: 55.83 kB / 0.7503 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.67e-05/0.6973, allocations: 99.83 kB / 0.7504 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.6973, allocations: 33.86 kB / 0.7505 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.6973, allocations: 81.73 kB / 0.7505 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.898e-05/0.6974, allocations: 78.5 kB / 0.7506 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.6975, allocations: 46.58 kB / 0.7507 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.6976, allocations: 322 kB / 0.751 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.574e-05/0.6977, allocations: 36.09 kB / 0.751 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-05/0.6978, allocations: 73.48 kB / 0.7511 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.698, allocations: 111.2 kB / 0.7512 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.698, allocations: 2.578 kB / 0.7512 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002459/0.6982, allocations: 157.3 kB / 0.7513 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.6982, allocations: 12.86 kB / 0.7513 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6982, allocations: 3.156 kB / 0.7513 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.6983, allocations: 1.156 kB / 0.7513 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.6984, allocations: 42.25 kB / 0.7514 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.6984, allocations: 3.125 kB / 0.7514 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/0.6985, allocations: 2.469 kB / 0.7514 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.6985, allocations: 9.656 kB / 0.7514 GB, free: 11.4 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.0001054/0.6986, allocations: 122.2 kB / 0.7515 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.6986, allocations: 8.578 kB / 0.7515 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.068e-05/0.6987, allocations: 24.14 kB / 0.7515 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6987, allocations: 2.25 kB / 0.7515 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6987, allocations: 5.031 kB / 0.7515 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6987, allocations: 0 / 0.7515 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.6989, allocations: 134 kB / 0.7517 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6989, allocations: 0 / 0.7517 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.6991, allocations: 39.19 kB / 0.7517 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.6991, allocations: 1.156 kB / 0.7517 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.6991, allocations: 1.125 kB / 0.7517 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6991, allocations: 1.312 kB / 0.7517 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6991, allocations: 2.578 kB / 0.7517 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.6994, allocations: 228.2 kB / 0.7519 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.6995, allocations: 9.938 kB / 0.7519 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.6995, allocations: 5.406 kB / 0.752 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.6996, allocations: 8.781 kB / 0.752 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.6996, allocations: 19.47 kB / 0.752 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.6997, allocations: 4.25 kB / 0.752 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.39e-05/0.6997, allocations: 81.66 kB / 0.7521 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.6997, allocations: 0 / 0.7521 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002313/0.6999, allocations: 25.53 kB / 0.7521 GB, free: 10.88 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.0001304/0.7001, allocations: 106.5 kB / 0.7522 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.7003, allocations: 104.9 kB / 0.7523 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7003, allocations: 1.344 kB / 0.7523 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.599e-05/0.7004, allocations: 49.08 kB / 0.7523 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.7006, allocations: 17.61 kB / 0.7524 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008396/0.7014, allocations: 0.5018 MB / 0.7528 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.345e-05/0.7015, allocations: 89.78 kB / 0.7529 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.7016, allocations: 22.3 kB / 0.7529 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.7017, allocations: 16.59 kB / 0.753 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.7017, allocations: 0 / 0.753 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of Templates: time 0.003937/0.7056, allocations: 1.055 MB / 0.754 GB, free: 10.13 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9868987610097975] Failed to read output from testmodel.py, exit status != 0: 0.7138668339466676 0.727680866 0.031155735 Calling exit ...