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.001896/0.001896, allocations: 85.48 kB / 19.44 MB, free: 340 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.002186/0.002186, allocations: 169.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.598/1.598, allocations: 177.1 MB / 203.1 MB, free: 5.254 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.06251/0.06251, allocations: 7.509 MB / 267.1 MB, free: 5.91 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 1.543e-06/1.543e-06, allocations: 0 / 337.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.663e-05, allocations: 4.844 kB / 337.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01728/0.0173, allocations: 17.04 MB / 354.9 MB, free: 10.26 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01501/0.03231, allocations: 11.16 MB / 366.1 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.03237, allocations: 0 / 366.1 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007729/0.03314, allocations: 235.2 kB / 366.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.609e-05/0.03324, allocations: 47.75 kB / 366.4 MB, free: 14.78 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.01572/0.04895, allocations: 6.07 MB / 372.4 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.04911, allocations: 91.39 kB / 372.5 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.296e-05/0.04915, allocations: 7.875 kB / 372.5 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.04927, allocations: 51.78 kB / 372.6 MB, free: 8.539 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.667e-05/0.04932, allocations: 12 kB / 372.6 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.04933, allocations: 0 / 372.6 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01257/0.0619, allocations: 6.146 MB / 378.7 MB, free: 2.367 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.06191, allocations: 0 / 378.7 MB, free: 2.367 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.06198, allocations: 19.94 kB / 378.8 MB, free: 2.348 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007958/0.06994, allocations: 3.643 MB / 382.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.06994, allocations: 0 / 382.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.528e-06/0.06995, allocations: 4 kB / 382.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.06995, allocations: 0 / 382.4 MB, free: 14.69 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001645/0.0716, allocations: 0.8357 MB / 383.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.07164, allocations: 12.62 kB / 383.3 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.0717, allocations: 15.89 kB / 383.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.07184, allocations: 120 kB / 383.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.07186, allocations: 0 / 383.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.07188, allocations: 0 / 383.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.07199, allocations: 33.7 kB / 383.4 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.072, allocations: 3.984 kB / 383.4 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.07201, allocations: 4 kB / 383.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.07203, allocations: 3.984 kB / 383.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.553e-05/0.07206, allocations: 12 kB / 383.5 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.07227, allocations: 136.5 kB / 383.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.935e-05/0.07235, allocations: 43 kB / 383.6 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.07238, allocations: 15.72 kB / 383.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05945/0.1318, allocations: 11.36 MB / 395 MB, free: 1.961 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.1319, allocations: 33.39 kB / 395 MB, free: 1.918 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/0.1319, allocations: 0 / 395 MB, free: 1.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002707/0.1322, allocations: 85.69 kB / 395.1 MB, free: 1.828 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.1322, allocations: 55.34 kB / 395.2 MB, free: 1.762 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.1323, allocations: 165.8 kB / 395.3 MB, free: 1.582 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1323, allocations: 25.7 kB / 395.4 MB, free: 1.551 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.644e-05/0.1324, allocations: 130.9 kB / 395.5 MB, free: 1.418 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.1325, allocations: 51.5 kB / 395.5 MB, free: 1.367 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.1325, allocations: 27.38 kB / 395.6 MB, free: 1.332 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000276/0.1328, allocations: 0.4884 MB / 396.1 MB, free: 0.832 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.375e-05/0.1328, allocations: 8 kB / 396.1 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.357e-05/0.1329, allocations: 16 kB / 396.1 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.243e-05/0.1329, allocations: 47.86 kB / 396.1 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1329, allocations: 0 / 396.1 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001168/0.133, allocations: 69.28 kB / 396.2 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1331, allocations: 11.98 kB / 396.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1331, allocations: 0 / 396.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1331, allocations: 0 / 396.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.1331, allocations: 0 / 396.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1331, allocations: 7.875 kB / 396.2 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.1331, allocations: 0 / 396.2 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.1331, allocations: 4 kB / 396.2 MB, free: 0.6641 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.0001247/0.1333, allocations: 156.6 kB / 396.4 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.1333, allocations: 7.953 kB / 396.4 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.1336, allocations: 175.4 kB / 396.5 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.1336, allocations: 4 kB / 396.6 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1336, allocations: 0 / 396.6 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1336, allocations: 3.938 kB / 396.6 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.1337, allocations: 132.5 kB / 396.7 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1337, allocations: 0 / 396.7 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.1337, allocations: 7.875 kB / 396.7 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1337, allocations: 0 / 396.7 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1337, allocations: 8.016 kB / 396.7 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1337, allocations: 4 kB / 396.7 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1337, allocations: 0 / 396.7 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.1339, allocations: 92.38 kB / 396.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.813e-05/0.1339, allocations: 11.92 kB / 396.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1339, allocations: 4 kB / 396.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.219e-05/0.134, allocations: 0 / 396.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.134, allocations: 0 / 396.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.134, allocations: 0 / 396.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001086/0.1341, allocations: 147.1 kB / 397 MB, free: 15.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1341, allocations: 0 / 397 MB, free: 15.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002068/0.1362, allocations: 0.8801 MB / 397.8 MB, free: 14.93 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: 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.003769/0.1399, allocations: 1.488 MB / 399.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.1401, allocations: 35.67 kB / 399.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1401, allocations: 0 / 399.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/0.1401, allocations: 19.62 kB / 399.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.1406, allocations: 63.53 kB / 399.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003635/0.1409, allocations: 150.1 kB / 399.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.939e-05/0.141, allocations: 71.33 kB / 399.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.91e-05/0.141, allocations: 7.984 kB / 399.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.979e-05/0.1411, allocations: 12.5 kB / 399.7 MB, free: 13.03 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1411, allocations: 0 / 399.7 MB, free: 13.03 MB / 330.7 MB Notification: Performance of Templates: time 0.143/0.2841, allocations: 24.51 MB / 424.2 MB, free: 78.55 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.989281036891043]