Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.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.00136/0.00136, 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.001607/0.001607, 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05506/0.05506, allocations: 9.137 MB / 321.6 MB, free: 10.22 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.Parameter.State_dT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_dT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00326/0.00326, allocations: 68.09 kB / 447 MB, free: 96 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1209, allocations: 54.95 MB / 0.4902 GB, free: 9.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.02056/0.1415, allocations: 15.7 MB / 0.5055 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2168/0.3582, allocations: 13.7 MB / 0.5189 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.3583, allocations: 2.406 kB / 0.5189 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009566/0.3593, allocations: 341.8 kB / 0.5192 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002986/0.3623, allocations: 1.323 MB / 0.5205 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01156/0.3738, allocations: 4.644 MB / 0.5251 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.3741, allocations: 149.8 kB / 0.5252 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.3741, allocations: 11.92 kB / 0.5252 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.3743, allocations: 72.19 kB / 0.5253 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.409e-05/0.3744, allocations: 46.53 kB / 0.5253 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.3744, allocations: 3.562 kB / 0.5253 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01276/0.3871, allocations: 5.904 MB / 0.5311 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.3872, allocations: 12.14 kB / 0.5311 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.3873, allocations: 42.48 kB / 0.5311 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008118/0.3954, allocations: 2.949 MB / 0.534 GB, free: 6.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3954, allocations: 0 / 0.534 GB, free: 6.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3954, allocations: 1.844 kB / 0.534 GB, free: 6.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3954, allocations: 0 / 0.534 GB, free: 6.352 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001726/0.3971, allocations: 0.7325 MB / 0.5347 GB, free: 5.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3972, allocations: 8.094 kB / 0.5347 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004179/0.3976, allocations: 66.28 kB / 0.5348 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.3977, allocations: 117.7 kB / 0.5349 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.3977, allocations: 2.375 kB / 0.5349 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.3977, allocations: 15.19 kB / 0.5349 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.3981, allocations: 268.7 kB / 0.5352 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3981, allocations: 0 / 0.5352 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.3981, allocations: 2.094 kB / 0.5352 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.3981, allocations: 8.531 kB / 0.5352 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005417/0.3987, allocations: 462.3 kB / 0.5356 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.3989, allocations: 273.5 kB / 0.5359 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.3993, allocations: 231.1 kB / 0.5361 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.3995, allocations: 210 kB / 0.5363 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01287/0.4123, allocations: 3.104 MB / 0.5394 GB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.4124, allocations: 32.56 kB / 0.5394 GB, free: 4.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.274e-06/0.4124, allocations: 0 / 0.5394 GB, free: 4.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.0009056/0.4133, allocations: 0.7082 MB / 0.5401 GB, free: 4.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.4133, allocations: 52.94 kB / 0.5401 GB, free: 4.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.391e-05/0.4134, allocations: 96.59 kB / 0.5402 GB, free: 4.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.4134, allocations: 34.89 kB / 0.5403 GB, free: 4.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.369e-05/0.4134, allocations: 80.8 kB / 0.5403 GB, free: 4.051 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.341e-05/0.4135, allocations: 144.8 kB / 0.5405 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.4135, allocations: 45.62 kB / 0.5405 GB, free: 3.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.336e-05/0.4136, allocations: 322.9 kB / 0.5408 GB, free: 3.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.4138, allocations: 198.2 kB / 0.541 GB, free: 3.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.414, allocations: 201.8 kB / 0.5412 GB, free: 3.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000475/0.4145, allocations: 468.1 kB / 0.5417 GB, free: 3.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4145, allocations: 1.469 kB / 0.5417 GB, free: 3.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005709/0.415, allocations: 0.519 MB / 0.5422 GB, free: 3.348 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.415, allocations: 8.297 kB / 0.5422 GB, free: 3.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.4151, allocations: 5.594 kB / 0.5422 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4151, allocations: 1.312 kB / 0.5422 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.4152, allocations: 26.02 kB / 0.5422 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4152, allocations: 0 / 0.5422 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.312e-05/0.4153, allocations: 18.08 kB / 0.5422 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.4153, allocations: 11.48 kB / 0.5422 GB, free: 3.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.859e-05/0.4154, allocations: 121.1 kB / 0.5423 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.4154, allocations: 21.16 kB / 0.5424 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006739/0.4161, allocations: 0.691 MB / 0.543 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4161, allocations: 1.219 kB / 0.543 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4161, allocations: 1.656 kB / 0.543 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4161, allocations: 0.5625 kB / 0.543 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009032/0.417, allocations: 0.8771 MB / 0.5439 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.417, allocations: 3.594 kB / 0.5439 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.4171, allocations: 38.72 kB / 0.5439 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.4171, allocations: 3.75 kB / 0.5439 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.4172, allocations: 9.031 kB / 0.544 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.4172, allocations: 6.562 kB / 0.544 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4172, allocations: 2.781 kB / 0.544 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.4175, allocations: 388.4 kB / 0.5443 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.4175, allocations: 7.453 kB / 0.5443 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.4176, allocations: 16.55 kB / 0.5444 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.4177, allocations: 10.97 kB / 0.5444 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.4177, allocations: 23.28 kB / 0.5444 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.4177, allocations: 8.875 kB / 0.5444 GB, free: 1.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.4179, allocations: 170 kB / 0.5446 GB, free: 1.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4179, allocations: 0 / 0.5446 GB, free: 1.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002255/0.4201, allocations: 0.758 MB / 0.5453 GB, free: 1.352 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (12): * Single equations (assignments): 12 * 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.002748/0.4229, allocations: 1.228 MB / 0.5465 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004363/0.4233, allocations: 312.5 kB / 0.5468 GB, free: 0.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4233, allocations: 0 / 0.5468 GB, free: 0.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.4234, allocations: 95.27 kB / 0.5469 GB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.424, allocations: 88.23 kB / 0.547 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/0.4247, allocations: 418.6 kB / 0.5474 GB, free: 336 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.7e-05/0.4247, allocations: 96.52 kB / 0.5475 GB, free: 248 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003598/0.4251, allocations: 297.9 kB / 0.5477 GB, free: 96 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.4251, allocations: 26.61 kB / 0.5478 GB, free: 80 kB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4251, allocations: 3.938 kB / 0.5478 GB, free: 76 kB / 382.1 MB Notification: Performance of Templates: time 0.04098/0.4661, allocations: 26.36 MB / 0.5735 GB, free: 8.074 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.761982409283519] Failed to read output from testmodel.py, exit status != 0: 0.4760464373975992 0.489771878 0.09109818800000001 Calling exit ...