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.0008709/0.0008709, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008911/0.0008911, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.856/0.856, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7113/0.7113, allocations: 154.6 MB / 414.5 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.068e-05, allocations: 2.969 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001577/0.001597, allocations: 1.332 MB / 0.6206 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4471/0.4487, allocations: 130.1 MB / 0.7476 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.4488, allocations: 0 / 0.7476 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 6.758e-05/0.4489, allocations: 3.266 kB / 0.7476 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.449, allocations: 17 kB / 0.7476 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009954/0.45, allocations: 337.5 kB / 0.748 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.4502, allocations: 66.14 kB / 0.748 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.414e-05/0.4502, allocations: 2.734 kB / 0.748 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.802e-05/0.4503, allocations: 45.44 kB / 0.7481 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.4504, allocations: 28.33 kB / 0.7481 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.4504, allocations: 7.781 kB / 0.7481 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007168/0.4512, allocations: 380.9 kB / 0.7485 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.4512, allocations: 12.36 kB / 0.7485 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.4513, allocations: 26.34 kB / 0.7485 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.4516, allocations: 170.3 kB / 0.7487 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4516, allocations: 0 / 0.7487 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.113e-06/0.4516, allocations: 1.219 kB / 0.7487 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.4516, allocations: 0 / 0.7487 GB, free: 18.62 MB / 0.6355 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.0004658/0.4521, allocations: 315.2 kB / 0.749 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.4522, allocations: 13.94 kB / 0.749 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003287/0.4525, allocations: 32.33 kB / 0.749 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.45e-05/0.4526, allocations: 109 kB / 0.7491 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.4526, allocations: 8.656 kB / 0.7491 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.4526, allocations: 14.42 kB / 0.7491 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.4528, allocations: 214.8 kB / 0.7493 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.4528, allocations: 0 / 0.7493 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.4529, allocations: 1.75 kB / 0.7493 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.4529, allocations: 5.312 kB / 0.7493 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.453, allocations: 48.52 kB / 0.7494 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.4531, allocations: 118.7 kB / 0.7495 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.4533, allocations: 85.28 kB / 0.7496 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.789e-05/0.4534, allocations: 27.34 kB / 0.7496 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.4535, allocations: 22.91 kB / 0.7496 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.4536, allocations: 37.16 kB / 0.7497 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.4536, allocations: 3.938 kB / 0.7497 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.00108/0.4547, allocations: 491.8 kB / 0.7501 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.4547, allocations: 53.77 kB / 0.7502 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.607e-05/0.4547, allocations: 99.73 kB / 0.7503 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.4547, allocations: 27.48 kB / 0.7503 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.61e-05/0.4548, allocations: 86.42 kB / 0.7504 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.4548, allocations: 75.8 kB / 0.7505 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.4549, allocations: 39.98 kB / 0.7505 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.515e-05/0.4549, allocations: 321.1 kB / 0.7508 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/0.455, allocations: 34.11 kB / 0.7508 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-05/0.455, allocations: 72.55 kB / 0.7509 GB, free: 16.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.4551, allocations: 124.5 kB / 0.751 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4552, allocations: 0 / 0.751 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001703/0.4553, allocations: 161.6 kB / 0.7512 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4553, allocations: 5.5 kB / 0.7512 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4553, allocations: 1.375 kB / 0.7512 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.4554, allocations: 6.078 kB / 0.7512 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.4555, allocations: 39.41 kB / 0.7512 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4555, allocations: 5.203 kB / 0.7512 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.4555, allocations: 6.656 kB / 0.7513 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.4555, allocations: 5.312 kB / 0.7513 GB, free: 16.55 MB / 0.6355 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 6.29e-05/0.4556, allocations: 124.8 kB / 0.7514 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.4556, allocations: 8.297 kB / 0.7514 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.4557, allocations: 18.58 kB / 0.7514 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4557, allocations: 1.438 kB / 0.7514 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4557, allocations: 5.406 kB / 0.7514 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4557, allocations: 5.219 kB / 0.7514 GB, free: 16.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.069e-05/0.4558, allocations: 141.3 kB / 0.7515 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4558, allocations: 1.656 kB / 0.7516 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.4559, allocations: 35.14 kB / 0.7516 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4559, allocations: 1.031 kB / 0.7516 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.4559, allocations: 6.203 kB / 0.7516 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4559, allocations: 1.562 kB / 0.7516 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4559, allocations: 0 / 0.7516 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.4562, allocations: 219.6 kB / 0.7518 GB, free: 16.13 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.4562, allocations: 14.08 kB / 0.7518 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.4562, allocations: 5.781 kB / 0.7518 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.4563, allocations: 13.64 kB / 0.7518 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.4563, allocations: 10.7 kB / 0.7518 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.4564, allocations: 5.109 kB / 0.7518 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.499e-05/0.4564, allocations: 80.98 kB / 0.7519 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4564, allocations: 1.031 kB / 0.7519 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001581/0.4565, allocations: 25.22 kB / 0.752 GB, free: 16.03 MB / 0.6355 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.0001355/0.4567, allocations: 101.1 kB / 0.752 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.4569, allocations: 106.8 kB / 0.7521 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.4569, allocations: 0 / 0.7521 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.254e-05/0.4569, allocations: 48.95 kB / 0.7522 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.4572, allocations: 20.42 kB / 0.7522 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005872/0.4578, allocations: 429.4 kB / 0.7526 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.723e-05/0.4578, allocations: 83.67 kB / 0.7527 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.4579, allocations: 18.22 kB / 0.7527 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of SimCode: time 1.113e-06/0.4579, allocations: 0 / 0.7527 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of Templates: time 0.00301/0.4609, allocations: 1.351 MB / 0.754 GB, free: 15.39 MB / 0.6355 GB " [Timeout remaining time 660] 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 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.500157401897013] Failed to read output from testmodel.py, exit status != 0: 0.46732577681541443 0.475645179 0.022251041000000003 Calling exit ...