Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.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.00101/0.00101, allocations: 77.09 kB / 20.65 MB, free: 3.852 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.001088/0.001088, allocations: 165 kB / 24.05 MB, free: 468 kB / 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.079/1.079, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.04224/0.04224, allocations: 7.522 MB / 268.6 MB, free: 5.859 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.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.806e-06/2.806e-06, allocations: 0 / 339.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.28e-05/3.561e-05, allocations: 6.25 kB / 339.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.0169/0.01694, allocations: 17.99 MB / 357.9 MB, free: 9.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01537/0.03231, allocations: 17.37 MB / 375.2 MB, free: 8.309 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.03255, allocations: 0 / 375.2 MB, free: 8.309 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006378/0.03319, allocations: 262.6 kB / 375.5 MB, free: 8.051 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005353/0.03372, allocations: 242.5 kB / 375.7 MB, free: 7.812 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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:888:13-888: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. [/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.01586/0.04959, allocations: 7.737 MB / 383.5 MB, free: 48 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005356/0.05012, allocations: 370 kB / 383.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.278e-05/0.05018, allocations: 8.594 kB / 383.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000427/0.05061, allocations: 231.3 kB / 384 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.05074, allocations: 75.81 kB / 384.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.05076, allocations: 8 kB / 384.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01228/0.06303, allocations: 7.612 MB / 391.7 MB, free: 7.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.06309, allocations: 23.86 kB / 391.8 MB, free: 7.707 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.06328, allocations: 71.73 kB / 391.8 MB, free: 7.641 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.07404, allocations: 4.574 MB / 396.4 MB, free: 3.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.07405, allocations: 0 / 396.4 MB, free: 3.055 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.07405, allocations: 4 kB / 396.4 MB, free: 3.051 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.07406, allocations: 0 / 396.4 MB, free: 3.051 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002478/0.07654, allocations: 1.146 MB / 397.6 MB, free: 1.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.07658, allocations: 12.62 kB / 397.6 MB, free: 1.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.07672, allocations: 31.84 kB / 397.6 MB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.0769, allocations: 155.7 kB / 397.8 MB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.07691, allocations: 7.938 kB / 397.8 MB, free: 1.633 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.07692, allocations: 7.938 kB / 397.8 MB, free: 1.625 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.0771, allocations: 97.34 kB / 397.9 MB, free: 1.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.07711, allocations: 4 kB / 397.9 MB, free: 1.516 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.07712, allocations: 8 kB / 397.9 MB, free: 1.508 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.07713, allocations: 3.984 kB / 397.9 MB, free: 1.504 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.164e-05/0.07719, allocations: 33.48 kB / 397.9 MB, free: 1.473 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.07758, allocations: 400.8 kB / 398.3 MB, free: 1.051 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.081e-05/0.07766, allocations: 67.47 kB / 398.4 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.0777, allocations: 40.67 kB / 398.4 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05101/0.1287, allocations: 21.34 MB / 419.7 MB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.1288, allocations: 37.33 kB / 419.8 MB, free: 11.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=47): time 3.006e-06/0.1288, allocations: 0 / 419.8 MB, free: 11.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.0004465/0.1292, allocations: 229.5 kB / 420 MB, free: 11.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.1292, allocations: 55.41 kB / 420.1 MB, free: 11.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1294, allocations: 200.4 kB / 420.3 MB, free: 11.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1294, allocations: 25.7 kB / 420.3 MB, free: 10.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.1297, allocations: 147.8 kB / 420.4 MB, free: 10.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.274e-05/0.1298, allocations: 158.6 kB / 420.6 MB, free: 10.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.1299, allocations: 59.31 kB / 420.6 MB, free: 10.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.13, allocations: 0.504 MB / 421.1 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.894e-05/0.1301, allocations: 24.5 kB / 421.2 MB, free: 10.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.831e-05/0.1301, allocations: 30.48 kB / 421.2 MB, free: 10.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1302, allocations: 127.6 kB / 421.3 MB, free: 9.914 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1302, allocations: 0 / 421.3 MB, free: 9.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000175/0.1304, allocations: 166.5 kB / 421.5 MB, free: 9.742 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1304, allocations: 11.94 kB / 421.5 MB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1304, allocations: 3.938 kB / 421.5 MB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.818e-06/0.1304, allocations: 0 / 421.5 MB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.1305, allocations: 15.98 kB / 421.5 MB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.1305, allocations: 0 / 421.5 MB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.46e-05/0.1306, allocations: 23.78 kB / 421.5 MB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.1306, allocations: 7.984 kB / 421.5 MB, free: 9.68 MB / 394.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: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 9.178e-05/0.1307, allocations: 164.6 kB / 421.7 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.1307, allocations: 31.73 kB / 421.7 MB, free: 9.477 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.131, allocations: 245.2 kB / 422 MB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.131, allocations: 7.984 kB / 422 MB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.131, allocations: 0 / 422 MB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.131, allocations: 0 / 422 MB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.1312, allocations: 177.4 kB / 422.2 MB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1312, allocations: 4 kB / 422.2 MB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.1313, allocations: 19.98 kB / 422.2 MB, free: 9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1313, allocations: 0 / 422.2 MB, free: 9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.1313, allocations: 4 kB / 422.2 MB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.1313, allocations: 7.922 kB / 422.2 MB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1313, allocations: 0 / 422.2 MB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.1315, allocations: 345.6 kB / 422.5 MB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.1316, allocations: 35.72 kB / 422.6 MB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.1316, allocations: 3.984 kB / 422.6 MB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.318e-05/0.1316, allocations: 11.94 kB / 422.6 MB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.1317, allocations: 19.97 kB / 422.6 MB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.1317, allocations: 4 kB / 422.6 MB, free: 8.562 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.91e-05/0.1317, allocations: 139.2 kB / 422.7 MB, free: 8.426 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1317, allocations: 0 / 422.7 MB, free: 8.426 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002402/0.1341, allocations: 1.141 MB / 423.9 MB, free: 7.281 MB / 394.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: 6 (state.phase,state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003369/0.1375, allocations: 1.901 MB / 425.8 MB, free: 5.379 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.1377, allocations: 112.6 kB / 425.9 MB, free: 5.262 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1377, allocations: 3.938 kB / 425.9 MB, free: 5.258 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.1378, allocations: 73.14 kB / 426 MB, free: 5.184 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.1383, allocations: 158.6 kB / 426.1 MB, free: 5.031 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000781/0.1391, allocations: 370.8 kB / 426.5 MB, free: 4.637 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.344e-05/0.1392, allocations: 84.97 kB / 426.6 MB, free: 4.531 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.439e-05/0.1392, allocations: 19.23 kB / 426.6 MB, free: 4.516 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.1395, allocations: 186 kB / 426.8 MB, free: 4.332 MB / 394.7 MB Notification: Performance of SimCode: time 1.653e-06/0.1395, allocations: 4 kB / 426.8 MB, free: 4.328 MB / 394.7 MB Notification: Performance of Templates: time 0.1725/0.312, allocations: 38.1 MB / 464.9 MB, free: 138.4 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.24728050082922]