Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.0009644/0.0009644, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009254/0.0009254, allocations: 173 kB / 23.36 MB, free: 1.133 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.886/0.886, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.02912/0.02912, allocations: 7.523 MB / 267.8 MB, free: 5.867 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.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") translateModel(HelmholtzMedia.Examples.BaseProps_sweep,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 285.8 MB, free: 3.852 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.408e-05, allocations: 2.312 kB / 285.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.1062/0.1063, allocations: 17.84 MB / 303.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01851/0.1248, allocations: 32.36 MB / 336 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.1249, allocations: 3.938 kB / 336 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007874/0.1257, allocations: 383.2 kB / 336.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.126, allocations: 151 kB / 336.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01727/0.1433, allocations: 10.22 MB / 346.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.1437, allocations: 398.2 kB / 347.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.716e-05/0.1438, allocations: 22.53 kB / 347.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.1441, allocations: 239.3 kB / 347.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.1442, allocations: 95.72 kB / 347.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.1442, allocations: 12 kB / 347.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009842/0.1541, allocations: 8.154 MB / 355.7 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.1542, allocations: 39.84 kB / 355.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.772e-05/0.1542, allocations: 75.83 kB / 355.8 MB, free: 11.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006211/0.1604, allocations: 4.843 MB / 360.6 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1605, allocations: 4 kB / 360.6 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1605, allocations: 0 / 360.6 MB, free: 6.156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1605, allocations: 0 / 360.6 MB, free: 6.156 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001432/0.1619, allocations: 1.056 MB / 361.7 MB, free: 5.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.1619, allocations: 12.62 kB / 361.7 MB, free: 5.059 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003527/0.1623, allocations: 107.7 kB / 361.8 MB, free: 4.953 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.1624, allocations: 165.7 kB / 361.9 MB, free: 4.762 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.1624, allocations: 8.516 kB / 362 MB, free: 4.754 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.1625, allocations: 12 kB / 362 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.1628, allocations: 267.7 kB / 362.2 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.1628, allocations: 0.6875 kB / 362.2 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1628, allocations: 8.516 kB / 362.2 MB, free: 4.434 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.1628, allocations: 7.984 kB / 362.2 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.1629, allocations: 82.92 kB / 362.3 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.1634, allocations: 0.7137 MB / 363 MB, free: 3.594 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.1636, allocations: 183.3 kB / 363.2 MB, free: 3.379 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.1636, allocations: 60.77 kB / 363.3 MB, free: 3.309 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08286/0.2465, allocations: 42.48 MB / 405.8 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.2465, allocations: 40.56 kB / 405.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.524e-06/0.2465, allocations: 4 kB / 405.8 MB, free: 8.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.000529/0.247, allocations: 227.5 kB / 406 MB, free: 8.516 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.2471, allocations: 132.5 kB / 406.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.923e-05/0.2472, allocations: 188.3 kB / 406.3 MB, free: 8.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.2472, allocations: 29.7 kB / 406.4 MB, free: 8.125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.2473, allocations: 108.6 kB / 406.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.2473, allocations: 99.14 kB / 406.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.2473, allocations: 37.69 kB / 406.6 MB, free: 7.875 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.2474, allocations: 339.1 kB / 406.9 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.193e-05/0.2475, allocations: 34.75 kB / 407 MB, free: 7.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.551e-05/0.2475, allocations: 73.97 kB / 407 MB, free: 7.406 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.2476, allocations: 125.8 kB / 407.2 MB, free: 7.262 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2476, allocations: 0 / 407.2 MB, free: 7.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001467/0.2478, allocations: 156 kB / 407.3 MB, free: 7.105 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2478, allocations: 8 kB / 407.3 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2478, allocations: 0 / 407.3 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2478, allocations: 4 kB / 407.3 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.2479, allocations: 43.89 kB / 407.4 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.2479, allocations: 3.938 kB / 407.4 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.361e-05/0.248, allocations: 23.89 kB / 407.4 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.248, allocations: 12.17 kB / 407.4 MB, free: 7.012 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.sat.vap.phase,medium.sat.liq.phase,medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 7.253e-05/0.2481, allocations: 120.6 kB / 407.5 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.2481, allocations: 23.92 kB / 407.6 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.2483, allocations: 173.5 kB / 407.7 MB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.2483, allocations: 11.98 kB / 407.7 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2483, allocations: 3.938 kB / 407.7 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2483, allocations: 7.938 kB / 407.7 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.2485, allocations: 154.3 kB / 407.9 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2485, allocations: 0 / 407.9 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.419e-05/0.2486, allocations: 39.91 kB / 407.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2486, allocations: 0 / 407.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.2486, allocations: 4.75 kB / 407.9 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.2486, allocations: 4 kB / 407.9 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2486, allocations: 0 / 407.9 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.2488, allocations: 0.5019 MB / 408.4 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.2489, allocations: 27.73 kB / 408.5 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.2489, allocations: 4 kB / 408.5 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.249, allocations: 12.92 kB / 408.5 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.249, allocations: 31.89 kB / 408.5 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.2491, allocations: 11.94 kB / 408.5 MB, free: 5.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.354e-05/0.2491, allocations: 49.84 kB / 408.6 MB, free: 5.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2491, allocations: 0 / 408.6 MB, free: 5.789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001223/0.2503, allocations: 0.81 MB / 409.4 MB, free: 4.977 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001834/0.2521, allocations: 1.343 MB / 410.7 MB, free: 3.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.2523, allocations: 94.42 kB / 410.8 MB, free: 3.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.2523, allocations: 4 kB / 410.8 MB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.967e-05/0.2524, allocations: 73.52 kB / 410.9 MB, free: 3.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.2528, allocations: 100.6 kB / 411 MB, free: 3.371 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007204/0.2535, allocations: 459.9 kB / 411.5 MB, free: 2.887 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.46e-05/0.2536, allocations: 84.47 kB / 411.5 MB, free: 2.785 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.2537, allocations: 61.22 kB / 411.6 MB, free: 2.727 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.2538, allocations: 107.3 kB / 411.7 MB, free: 2.621 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2538, allocations: 0 / 411.7 MB, free: 2.621 MB / 362.7 MB Notification: Performance of Templates: time 0.1195/0.3733, allocations: 28.88 MB / 440.6 MB, free: 121.2 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.313651684205979]