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.001246/0.001246, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.001495/0.001495, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.04941/0.04941, allocations: 7.532 MB / 267.3 MB, free: 9.598 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_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 0.002003/0.002003, allocations: 75.89 kB / 392.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.1008, allocations: 54.91 MB / 447.7 MB, free: 4.625 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.03084/0.1317, allocations: 16.49 MB / 464.1 MB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.027/0.1587, allocations: 15.58 MB / 479.7 MB, free: 4.438 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.1589, allocations: 8 kB / 479.7 MB, free: 4.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007928/0.1597, allocations: 254.7 kB / 480 MB, free: 4.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006056/0.1603, allocations: 230.7 kB / 480.2 MB, free: 3.953 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.2405/0.4008, allocations: 7.635 MB / 487.8 MB, free: 46.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003979/0.4012, allocations: 352.9 kB / 488.2 MB, free: 46.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.495e-05/0.4013, allocations: 10.78 kB / 488.2 MB, free: 46.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000334/0.4016, allocations: 172 kB / 488.4 MB, free: 46.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.4018, allocations: 95.86 kB / 488.5 MB, free: 46.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.4018, allocations: 6.906 kB / 488.5 MB, free: 46.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01459/0.4164, allocations: 7.546 MB / 496 MB, free: 46.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.153e-05/0.4164, allocations: 25.8 kB / 496 MB, free: 46.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.4167, allocations: 84.2 kB / 496.1 MB, free: 46.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.4284, allocations: 3.876 MB / 500 MB, free: 45.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.4284, allocations: 3.031 kB / 500 MB, free: 45.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4284, allocations: 0 / 500 MB, free: 45.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.4284, allocations: 0 / 500 MB, free: 45.86 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.00217/0.4305, allocations: 1.051 MB / 0.4893 GB, free: 45.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.4306, allocations: 10.31 kB / 0.4893 GB, free: 45.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.4307, allocations: 35.95 kB / 0.4894 GB, free: 45.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.4309, allocations: 151.1 kB / 0.4895 GB, free: 45.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.4309, allocations: 0.5469 kB / 0.4895 GB, free: 45.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.4309, allocations: 6.688 kB / 0.4895 GB, free: 45.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.4312, allocations: 178.5 kB / 0.4897 GB, free: 45.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4313, allocations: 3.703 kB / 0.4897 GB, free: 45.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.4313, allocations: 0 / 0.4897 GB, free: 45.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4313, allocations: 10.62 kB / 0.4897 GB, free: 45.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.4317, allocations: 163.4 kB / 0.4898 GB, free: 45.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.4321, allocations: 414.8 kB / 0.4902 GB, free: 44.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.4323, allocations: 143 kB / 0.4904 GB, free: 44.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.4326, allocations: 133.2 kB / 0.4905 GB, free: 44.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.117/0.5496, allocations: 27.58 MB / 0.5174 GB, free: 43.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.5496, allocations: 34.42 kB / 0.5175 GB, free: 43.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.324e-06/0.5496, allocations: 0 / 0.5175 GB, free: 43.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=47): time 0.001058/0.5507, allocations: 491.2 kB / 0.5179 GB, free: 43.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.5507, allocations: 54.22 kB / 0.518 GB, free: 43.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.935e-05/0.5508, allocations: 144.2 kB / 0.5181 GB, free: 42.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.5508, allocations: 29.7 kB / 0.5181 GB, free: 42.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.5509, allocations: 88.16 kB / 0.5182 GB, free: 42.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.339e-05/0.5509, allocations: 154.6 kB / 0.5184 GB, free: 42.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/0.551, allocations: 49.61 kB / 0.5184 GB, free: 42.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.472e-05/0.5511, allocations: 336.7 kB / 0.5187 GB, free: 42.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.5513, allocations: 123.2 kB / 0.5189 GB, free: 42.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.5515, allocations: 124.5 kB / 0.519 GB, free: 42.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.552, allocations: 289.8 kB / 0.5193 GB, free: 42.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.552, allocations: 4 kB / 0.5193 GB, free: 42.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005996/0.5526, allocations: 340.3 kB / 0.5196 GB, free: 42.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.5526, allocations: 8.938 kB / 0.5196 GB, free: 42.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.5526, allocations: 5.016 kB / 0.5196 GB, free: 42.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.5526, allocations: 0.8906 kB / 0.5196 GB, free: 42.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.5528, allocations: 22.8 kB / 0.5196 GB, free: 42.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.5528, allocations: 2.453 kB / 0.5196 GB, free: 42.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.5529, allocations: 38.38 kB / 0.5197 GB, free: 42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.5529, allocations: 3.094 kB / 0.5197 GB, free: 42 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 (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 8.366e-05/0.553, allocations: 125.7 kB / 0.5198 GB, free: 41.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.5531, allocations: 20.23 kB / 0.5198 GB, free: 41.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007172/0.5538, allocations: 419 kB / 0.5202 GB, free: 41.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.5538, allocations: 9.516 kB / 0.5202 GB, free: 41.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5538, allocations: 3.969 kB / 0.5202 GB, free: 41.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5538, allocations: 1.391 kB / 0.5202 GB, free: 41.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.554, allocations: 213 kB / 0.5204 GB, free: 41.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.554, allocations: 1.375 kB / 0.5204 GB, free: 41.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.5542, allocations: 25.72 kB / 0.5204 GB, free: 41.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5542, allocations: 1.375 kB / 0.5204 GB, free: 41.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.5542, allocations: 5.375 kB / 0.5205 GB, free: 41.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5542, allocations: 1.094 kB / 0.5205 GB, free: 41.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5542, allocations: 1.375 kB / 0.5205 GB, free: 41.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000594/0.5548, allocations: 454.8 kB / 0.5209 GB, free: 41.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.5548, allocations: 41.23 kB / 0.5209 GB, free: 41.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.5548, allocations: 6.469 kB / 0.5209 GB, free: 41.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.555, allocations: 12.23 kB / 0.5209 GB, free: 41.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.5551, allocations: 12.11 kB / 0.521 GB, free: 41.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.5551, allocations: 6.734 kB / 0.521 GB, free: 41.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.57e-05/0.5551, allocations: 106.7 kB / 0.5211 GB, free: 41 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5551, allocations: 2.906 kB / 0.5211 GB, free: 41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002734/0.5578, allocations: 1.14 MB / 0.5222 GB, free: 40.72 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 (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.004435/0.5623, allocations: 1.687 MB / 0.5238 GB, free: 40.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000665/0.5629, allocations: 277.9 kB / 0.5241 GB, free: 40.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5629, allocations: 1.094 kB / 0.5241 GB, free: 40.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.5632, allocations: 144.8 kB / 0.5242 GB, free: 40 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009085/0.5641, allocations: 154.3 kB / 0.5244 GB, free: 39.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.5647, allocations: 416.9 kB / 0.5248 GB, free: 39.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.108e-05/0.5648, allocations: 126.4 kB / 0.5249 GB, free: 39.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.713e-05/0.5649, allocations: 13.64 kB / 0.5249 GB, free: 39.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.5649, allocations: 23.27 kB / 0.5249 GB, free: 39.54 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5649, allocations: 0 / 0.5249 GB, free: 39.54 MB / 446.1 MB Notification: Performance of Templates: time 0.03776/0.6027, allocations: 31.16 MB / 0.5554 GB, free: 11.64 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.1157549869967625] Failed to read output from testmodel.py, exit status != 0: 0.611241928068921 0.622424054 0.19078618 Calling exit ...