Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.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.001353/0.001353, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.001421/0.001421, allocations: 157.5 kB / 23.01 MB, free: 4.602 MB / 14.72 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.457/1.457, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 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.04834/0.04834, allocations: 7.538 MB / 267.3 MB, free: 9.602 MB / 254.1 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_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 75.88 kB / 392.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1114, allocations: 54.92 MB / 447.7 MB, free: 4.629 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.02355/0.1349, allocations: 16.49 MB / 464.2 MB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01899/0.1539, allocations: 15.57 MB / 479.7 MB, free: 4.441 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.1542, allocations: 7.938 kB / 479.7 MB, free: 4.434 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007575/0.1549, allocations: 250.8 kB / 480 MB, free: 4.188 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006194/0.1555, allocations: 230.6 kB / 480.2 MB, free: 3.961 MB / 446.1 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.2717/0.4272, allocations: 7.641 MB / 487.8 MB, free: 46.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004932/0.4277, allocations: 358.2 kB / 488.2 MB, free: 46.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.905e-05/0.4278, allocations: 11.06 kB / 488.2 MB, free: 46.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/0.4281, allocations: 170.2 kB / 488.4 MB, free: 46.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.4283, allocations: 98.8 kB / 488.5 MB, free: 46.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.4283, allocations: 3.188 kB / 488.5 MB, free: 46.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01433/0.4426, allocations: 7.542 MB / 496 MB, free: 46.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.684e-05/0.4427, allocations: 33.12 kB / 496 MB, free: 46.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.4429, allocations: 80.11 kB / 496.1 MB, free: 46.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.4554, allocations: 3.877 MB / 500 MB, free: 45.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4554, allocations: 0 / 500 MB, free: 45.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4554, allocations: 0 / 500 MB, free: 45.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.4554, allocations: 0 / 500 MB, free: 45.93 MB / 446.1 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.002527/0.4579, allocations: 1.057 MB / 0.4893 GB, free: 45.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.458, allocations: 10.31 kB / 0.4893 GB, free: 45.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.4581, allocations: 30.77 kB / 0.4894 GB, free: 45.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.4583, allocations: 155.4 kB / 0.4895 GB, free: 45.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.4583, allocations: 5.312 kB / 0.4895 GB, free: 45.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.4584, allocations: 5.969 kB / 0.4895 GB, free: 45.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.4587, allocations: 175.5 kB / 0.4897 GB, free: 45.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4587, allocations: 0 / 0.4897 GB, free: 45.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.4587, allocations: 0 / 0.4897 GB, free: 45.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.4587, allocations: 10.31 kB / 0.4897 GB, free: 45.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.4591, allocations: 167.7 kB / 0.4898 GB, free: 45.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/0.4593, allocations: 219.8 kB / 0.4901 GB, free: 44.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.4596, allocations: 153 kB / 0.4902 GB, free: 44.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.4598, allocations: 135.2 kB / 0.4903 GB, free: 44.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1174/0.5773, allocations: 27.58 MB / 0.5173 GB, free: 43.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.5773, allocations: 36.53 kB / 0.5173 GB, free: 43.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=48): time 2.545e-06/0.5773, allocations: 0 / 0.5173 GB, free: 43.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.001041/0.5784, allocations: 0.4887 MB / 0.5178 GB, free: 43.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.5784, allocations: 55.47 kB / 0.5178 GB, free: 43.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.5785, allocations: 140.7 kB / 0.518 GB, free: 43.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.5785, allocations: 29.14 kB / 0.518 GB, free: 43.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.5786, allocations: 85.14 kB / 0.5181 GB, free: 43.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.5787, allocations: 158.9 kB / 0.5182 GB, free: 42.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.5787, allocations: 45.09 kB / 0.5183 GB, free: 42.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.5788, allocations: 330.5 kB / 0.5186 GB, free: 42.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.579, allocations: 126.6 kB / 0.5187 GB, free: 42.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.5793, allocations: 126.7 kB / 0.5188 GB, free: 42.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005058/0.5798, allocations: 299.6 kB / 0.5191 GB, free: 42.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5798, allocations: 0 / 0.5191 GB, free: 42.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005957/0.5804, allocations: 349.9 kB / 0.5194 GB, free: 42.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5804, allocations: 5.5 kB / 0.5194 GB, free: 42.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.5804, allocations: 1.547 kB / 0.5194 GB, free: 42.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.5804, allocations: 0 / 0.5194 GB, free: 42.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.5806, allocations: 23.39 kB / 0.5195 GB, free: 42.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.5806, allocations: 3.984 kB / 0.5195 GB, free: 42.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.5807, allocations: 36.58 kB / 0.5195 GB, free: 42.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.5807, allocations: 2.656 kB / 0.5195 GB, free: 42.23 MB / 446.1 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 (12): * Single equations (assignments): 6 * 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.11e-05/0.5808, allocations: 126.1 kB / 0.5196 GB, free: 42.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.5809, allocations: 24.23 kB / 0.5197 GB, free: 42.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000772/0.5817, allocations: 422.7 kB / 0.5201 GB, free: 41.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.5817, allocations: 17.28 kB / 0.5201 GB, free: 41.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5817, allocations: 1.344 kB / 0.5201 GB, free: 41.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.5817, allocations: 0.8438 kB / 0.5201 GB, free: 41.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.5819, allocations: 216.7 kB / 0.5203 GB, free: 41.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5819, allocations: 0 / 0.5203 GB, free: 41.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.582, allocations: 19.7 kB / 0.5203 GB, free: 41.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.582, allocations: 9.281 kB / 0.5203 GB, free: 41.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.582, allocations: 9.641 kB / 0.5203 GB, free: 41.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.582, allocations: 0 / 0.5203 GB, free: 41.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.582, allocations: 1.594 kB / 0.5203 GB, free: 41.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005969/0.5826, allocations: 384.7 kB / 0.5207 GB, free: 41.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.28e-05/0.5827, allocations: 44.8 kB / 0.5207 GB, free: 41.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.5827, allocations: 5.188 kB / 0.5207 GB, free: 41.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.5828, allocations: 16.02 kB / 0.5208 GB, free: 41.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.5829, allocations: 13.97 kB / 0.5208 GB, free: 41.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.5829, allocations: 6.625 kB / 0.5208 GB, free: 41.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.909e-05/0.583, allocations: 105.1 kB / 0.5209 GB, free: 41.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.583, allocations: 2.906 kB / 0.5209 GB, free: 41.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002501/0.5855, allocations: 1.133 MB / 0.522 GB, free: 41.01 MB / 446.1 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 (12): * Single equations (assignments): 6 * 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.004883/0.5903, allocations: 1.697 MB / 0.5236 GB, free: 40.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007037/0.591, allocations: 287 kB / 0.5239 GB, free: 40.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.591, allocations: 0 / 0.5239 GB, free: 40.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.5913, allocations: 139.6 kB / 0.524 GB, free: 40.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008707/0.5922, allocations: 157.7 kB / 0.5242 GB, free: 40.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008003/0.593, allocations: 438.5 kB / 0.5246 GB, free: 39.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.573e-05/0.5931, allocations: 122.6 kB / 0.5247 GB, free: 39.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.5932, allocations: 18.47 kB / 0.5247 GB, free: 39.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.5932, allocations: 19.25 kB / 0.5248 GB, free: 39.81 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5932, allocations: 0.875 kB / 0.5248 GB, free: 39.81 MB / 446.1 MB Notification: Performance of Templates: time 0.04072/0.634, allocations: 31.18 MB / 0.5552 GB, free: 11.82 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.711463590036146] Failed to read output from testmodel.py, exit status != 0: 0.642160646035336 0.6526803919999999 0.19399469699999994 Calling exit ...