Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_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.002433/0.002433, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002909/0.002909, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.829/1.829, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 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.05836/0.05836, allocations: 7.508 MB / 267.1 MB, free: 6.066 MB / 250.7 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_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ps_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 337.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.356e-05, allocations: 2.312 kB / 337.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01735/0.01738, allocations: 16.93 MB / 354.8 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0139/0.03128, allocations: 10.52 MB / 365.4 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.03131, allocations: 0 / 365.4 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006833/0.03199, allocations: 239.2 kB / 365.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.26e-05/0.03204, allocations: 27.84 kB / 365.6 MB, free: 15.55 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01479/0.04683, allocations: 6.02 MB / 371.6 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.04694, allocations: 51.67 kB / 371.7 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.04698, allocations: 11.94 kB / 371.7 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.04712, allocations: 47.78 kB / 371.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.377e-05/0.04717, allocations: 8 kB / 371.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.04718, allocations: 0 / 371.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01206/0.05923, allocations: 6.135 MB / 377.9 MB, free: 3.238 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.05925, allocations: 0 / 377.9 MB, free: 3.238 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.05929, allocations: 19.92 kB / 377.9 MB, free: 3.219 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007825/0.06711, allocations: 3.608 MB / 381.5 MB, free: 15.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.06712, allocations: 4 kB / 381.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.06712, allocations: 0 / 381.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.06712, allocations: 0 / 381.5 MB, free: 15.59 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001403/0.06853, allocations: 0.7968 MB / 382.3 MB, free: 14.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.06857, allocations: 8.625 kB / 382.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.06861, allocations: 3.938 kB / 382.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.06874, allocations: 112.1 kB / 382.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.06876, allocations: 0 / 382.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.06877, allocations: 7.922 kB / 382.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.06887, allocations: 29.7 kB / 382.5 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.06888, allocations: 8 kB / 382.5 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.06889, allocations: 0 / 382.5 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.06889, allocations: 0 / 382.5 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.359e-05/0.06892, allocations: 7.938 kB / 382.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.06912, allocations: 124.5 kB / 382.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.959e-05/0.06919, allocations: 31.06 kB / 382.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.06921, allocations: 15.7 kB / 382.7 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04882/0.118, allocations: 9.246 MB / 391.9 MB, free: 5.074 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.1181, allocations: 37.39 kB / 391.9 MB, free: 5.027 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.1181, allocations: 0 / 391.9 MB, free: 5.027 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002204/0.1183, allocations: 61.62 kB / 392 MB, free: 4.961 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.1184, allocations: 55.41 kB / 392.1 MB, free: 4.895 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1185, allocations: 157.9 kB / 392.2 MB, free: 4.723 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1185, allocations: 25.7 kB / 392.2 MB, free: 4.691 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.462e-05/0.1186, allocations: 134.8 kB / 392.4 MB, free: 4.555 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.1186, allocations: 23.78 kB / 392.4 MB, free: 4.531 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.1187, allocations: 19.38 kB / 392.4 MB, free: 4.504 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002654/0.1189, allocations: 0.4884 MB / 392.9 MB, free: 4.004 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.119, allocations: 4 kB / 392.9 MB, free: 4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.604e-05/0.119, allocations: 8.141 kB / 392.9 MB, free: 3.992 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.95e-05/0.119, allocations: 24.03 kB / 392.9 MB, free: 3.965 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.119, allocations: 0 / 392.9 MB, free: 3.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002913/0.1193, allocations: 49.69 kB / 393 MB, free: 3.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1193, allocations: 8 kB / 393 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1193, allocations: 0 / 393 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1193, allocations: 0 / 393 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.731e-06/0.1193, allocations: 7.922 kB / 393 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1194, allocations: 0 / 393 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.1194, allocations: 3.938 kB / 393 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.1194, allocations: 0 / 393 MB, free: 3.891 MB / 314.7 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 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001268/0.1195, allocations: 160.6 kB / 393.2 MB, free: 3.723 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.1195, allocations: 3.953 kB / 393.2 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.1198, allocations: 246.8 kB / 393.4 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001405/0.1199, allocations: 272 kB / 393.7 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001436/0.12, allocations: 268.1 kB / 393.9 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001405/0.1202, allocations: 268 kB / 394.2 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.1206, allocations: 0.5037 MB / 394.7 MB, free: 2.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.762e-05/0.1206, allocations: 144.9 kB / 394.8 MB, free: 1.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.026e-05/0.1207, allocations: 148.8 kB / 395 MB, free: 1.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001374/0.1208, allocations: 264.1 kB / 395.2 MB, free: 1.516 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.121, allocations: 280.1 kB / 395.5 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000141/0.1211, allocations: 272 kB / 395.8 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001402/0.1213, allocations: 264.1 kB / 396 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.1216, allocations: 451.9 kB / 396.5 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.714e-05/0.1216, allocations: 152.9 kB / 396.6 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.1218, allocations: 272 kB / 396.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.1219, allocations: 144.9 kB / 397 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.1221, allocations: 276 kB / 397.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.768e-05/0.1222, allocations: 144.9 kB / 397.4 MB, free: 15.22 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001111/0.1223, allocations: 143.2 kB / 397.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1223, allocations: 0 / 397.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002191/0.1245, allocations: 0.8761 MB / 398.5 MB, free: 14.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.003637/0.1281, allocations: 1.605 MB / 400.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.676e-05/0.1282, allocations: 19.67 kB / 400.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1282, allocations: 0 / 400.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.1282, allocations: 0 / 400.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000986/0.1292, allocations: 0.7442 MB / 400.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.1296, allocations: 253.3 kB / 401.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.934e-05/0.1296, allocations: 59.34 kB / 401.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.923e-05/0.1296, allocations: 4 kB / 401.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.1297, allocations: 12.5 kB / 401.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1297, allocations: 0 / 401.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of Templates: time 0.179/0.3087, allocations: 23.86 MB / 425 MB, free: 77.69 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.152857627952471]