Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_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.001414/0.001414, allocations: 84.73 kB / 19.44 MB, free: 352 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.00173/0.00173, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.47/1.47, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.054/0.054, allocations: 7.517 MB / 267.1 MB, free: 6.023 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_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.859e-05, allocations: 4.703 kB / 337.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01659/0.01662, allocations: 15.44 MB / 353.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.03051, allocations: 9.833 MB / 363.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.03056, allocations: 0 / 363.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006914/0.03125, allocations: 223.3 kB / 363.4 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.03136, allocations: 51.69 kB / 363.4 MB, free: 1.707 MB / 282.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.01574/0.04709, allocations: 6.078 MB / 369.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.04726, allocations: 91.34 kB / 369.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.964e-05/0.04731, allocations: 12 kB / 369.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.04743, allocations: 55.77 kB / 369.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.088e-05/0.04748, allocations: 8 kB / 369.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.04749, allocations: 4 kB / 369.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01264/0.06013, allocations: 6.142 MB / 375.8 MB, free: 5.277 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.06015, allocations: 0 / 375.8 MB, free: 5.277 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.488e-05/0.06022, allocations: 19.94 kB / 375.9 MB, free: 5.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008371/0.06859, allocations: 3.651 MB / 379.5 MB, free: 1.598 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.06859, allocations: 0 / 379.5 MB, free: 1.598 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.0686, allocations: 0 / 379.5 MB, free: 1.598 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.0686, allocations: 0 / 379.5 MB, free: 1.598 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001892/0.07049, allocations: 0.74 MB / 380.2 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.07053, allocations: 8.625 kB / 380.3 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.07058, allocations: 11.89 kB / 380.3 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.07072, allocations: 109.2 kB / 380.4 MB, free: 0.668 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.07073, allocations: 0 / 380.4 MB, free: 0.668 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-06/0.07074, allocations: 0 / 380.4 MB, free: 0.668 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.07087, allocations: 57.69 kB / 380.4 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.07088, allocations: 0 / 380.4 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.07089, allocations: 0 / 380.4 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.0709, allocations: 0 / 380.4 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.001e-05/0.07095, allocations: 31.98 kB / 380.5 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.07115, allocations: 133.1 kB / 380.6 MB, free: 424 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.646e-05/0.07124, allocations: 50.5 kB / 380.6 MB, free: 364 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.07129, allocations: 32.88 kB / 380.7 MB, free: 328 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06039/0.1317, allocations: 11.95 MB / 392.6 MB, free: 4.355 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.1317, allocations: 38.56 kB / 392.7 MB, free: 4.309 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.114e-06/0.1317, allocations: 0 / 392.7 MB, free: 4.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003175/0.132, allocations: 124.9 kB / 392.8 MB, free: 4.184 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.1321, allocations: 55.34 kB / 392.8 MB, free: 4.117 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1322, allocations: 105.8 kB / 392.9 MB, free: 4.004 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.1322, allocations: 25.7 kB / 393 MB, free: 3.973 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.1323, allocations: 84.12 kB / 393 MB, free: 3.887 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.947e-05/0.1323, allocations: 43.59 kB / 393.1 MB, free: 3.844 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.1324, allocations: 21.7 kB / 393.1 MB, free: 3.816 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.1326, allocations: 318.8 kB / 393.4 MB, free: 3.496 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.369e-05/0.1326, allocations: 32.08 kB / 393.5 MB, free: 3.465 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.169e-05/0.1327, allocations: 27.98 kB / 393.5 MB, free: 3.438 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1328, allocations: 72.84 kB / 393.6 MB, free: 3.363 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1328, allocations: 0 / 393.6 MB, free: 3.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001549/0.1329, allocations: 97.61 kB / 393.6 MB, free: 3.262 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1329, allocations: 8 kB / 393.7 MB, free: 3.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1329, allocations: 0 / 393.7 MB, free: 3.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1329, allocations: 0 / 393.7 MB, free: 3.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.1329, allocations: 0 / 393.7 MB, free: 3.254 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.133, allocations: 3.938 kB / 393.7 MB, free: 3.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.818e-05/0.133, allocations: 4 kB / 393.7 MB, free: 3.246 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.133, allocations: 4.062 kB / 393.7 MB, free: 3.242 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: 2 (state_ps.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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 0.0001046/0.1331, allocations: 117.8 kB / 393.8 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.1331, allocations: 3.953 kB / 393.8 MB, free: 3.113 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.1334, allocations: 159.6 kB / 393.9 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1334, allocations: 0 / 393.9 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1334, allocations: 0 / 393.9 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.1334, allocations: 7.938 kB / 393.9 MB, free: 2.918 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.1335, allocations: 121.2 kB / 394.1 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1336, allocations: 0 / 394.1 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.1336, allocations: 7.969 kB / 394.1 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1336, allocations: 3.984 kB / 394.1 MB, free: 2.758 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1336, allocations: 8 kB / 394.1 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1336, allocations: 3.938 kB / 394.1 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1336, allocations: 0 / 394.1 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.1337, allocations: 93.05 kB / 394.2 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.1337, allocations: 3.953 kB / 394.2 MB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.1337, allocations: 4 kB / 394.2 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.24e-05/0.1338, allocations: 0 / 394.2 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.1338, allocations: 0 / 394.2 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.1338, allocations: 3.984 kB / 394.2 MB, free: 2.625 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003079/0.1341, allocations: 107.2 kB / 394.3 MB, free: 2.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1341, allocations: 0 / 394.3 MB, free: 2.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002314/0.1364, allocations: 0.8839 MB / 395.2 MB, free: 1.633 MB / 314.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: 1 (state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.004608/0.141, allocations: 1.476 MB / 396.7 MB, free: 148 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.1412, allocations: 43.98 kB / 396.7 MB, free: 104 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1412, allocations: 0 / 396.7 MB, free: 104 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.645e-05/0.1412, allocations: 15.98 kB / 396.7 MB, free: 88 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.1417, allocations: 60.16 kB / 396.8 MB, free: 32 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.1421, allocations: 168.4 kB / 396.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.549e-05/0.1421, allocations: 71.34 kB / 397 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.023e-05/0.1422, allocations: 0 / 397 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.1422, allocations: 12.5 kB / 397 MB, free: 15.74 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.1422, allocations: 0 / 397 MB, free: 15.74 MB / 330.7 MB Notification: Performance of Templates: time 0.1412/0.2834, allocations: 24.36 MB / 421.4 MB, free: 81.76 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.433171367971227]