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.001393/0.001393, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.001589/0.001589, allocations: 216.4 kB / 22.3 MB, free: 5.281 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.489/1.489, allocations: 230.6 MB / 256.1 MB, free: 7.738 MB / 206.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.05312/0.05312, allocations: 9.134 MB / 321.6 MB, free: 10.18 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.002016/0.002016, allocations: 64.23 kB / 447.1 MB, free: 15.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1135, allocations: 54.95 MB / 0.4903 GB, free: 8.941 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.02084/0.1343, allocations: 16.49 MB / 0.5064 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2718/0.4061, allocations: 15.57 MB / 0.5216 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.4064, allocations: 0 / 0.5216 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009163/0.4073, allocations: 265.3 kB / 0.5218 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006635/0.408, allocations: 241.5 kB / 0.5221 GB, free: 7.496 MB / 382.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.02331/0.4313, allocations: 7.633 MB / 0.5295 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005679/0.4319, allocations: 352.4 kB / 0.5299 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.474e-05/0.4319, allocations: 10.75 kB / 0.5299 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.4323, allocations: 178.3 kB / 0.53 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.4324, allocations: 95.11 kB / 0.5301 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.4324, allocations: 6.375 kB / 0.5301 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01701/0.4495, allocations: 7.547 MB / 0.5375 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.4495, allocations: 28.5 kB / 0.5375 GB, free: 5.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.4498, allocations: 84.98 kB / 0.5376 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.4618, allocations: 3.872 MB / 0.5414 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4618, allocations: 1.219 kB / 0.5414 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4618, allocations: 1.031 kB / 0.5414 GB, free: 4.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.4618, allocations: 0 / 0.5414 GB, free: 4.453 MB / 382.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.002891/0.4647, allocations: 1.057 MB / 0.5424 GB, free: 3.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.4648, allocations: 9.625 kB / 0.5424 GB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.4649, allocations: 33.59 kB / 0.5425 GB, free: 3.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.4652, allocations: 140.4 kB / 0.5426 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.4652, allocations: 8.938 kB / 0.5426 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.4652, allocations: 4.125 kB / 0.5426 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.4656, allocations: 176.9 kB / 0.5428 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4656, allocations: 3.625 kB / 0.5428 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.4657, allocations: 8.781 kB / 0.5428 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.4657, allocations: 12.95 kB / 0.5428 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.4661, allocations: 159.5 kB / 0.543 GB, free: 3.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005382/0.4666, allocations: 414.6 kB / 0.5434 GB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.467, allocations: 147 kB / 0.5435 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.4672, allocations: 131.5 kB / 0.5436 GB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1248/0.592, allocations: 27.57 MB / 0.5706 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.592, allocations: 38.56 kB / 0.5706 GB, free: 12.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.505e-06/0.592, allocations: 0 / 0.5706 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.001214/0.5933, allocations: 493.2 kB / 0.5711 GB, free: 12.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.5933, allocations: 51.41 kB / 0.5711 GB, free: 12.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.5934, allocations: 135.9 kB / 0.5712 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.5935, allocations: 29.7 kB / 0.5713 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.5935, allocations: 93.12 kB / 0.5714 GB, free: 11.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.5937, allocations: 152.2 kB / 0.5715 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/0.5938, allocations: 49.64 kB / 0.5716 GB, free: 11.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.5939, allocations: 330.8 kB / 0.5719 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.5942, allocations: 120.4 kB / 0.572 GB, free: 11.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.5945, allocations: 130.9 kB / 0.5721 GB, free: 11.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005994/0.5951, allocations: 292.7 kB / 0.5724 GB, free: 10.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.5951, allocations: 0 / 0.5724 GB, free: 10.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006979/0.5958, allocations: 346.3 kB / 0.5727 GB, free: 10.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5958, allocations: 4 kB / 0.5727 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5958, allocations: 0.75 kB / 0.5727 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.5958, allocations: 0 / 0.5727 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.596, allocations: 27.97 kB / 0.5727 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.596, allocations: 0 / 0.5727 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.5962, allocations: 31.39 kB / 0.5728 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.5962, allocations: 11.98 kB / 0.5728 GB, free: 10.36 MB / 414.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 0.0001312/0.5964, allocations: 122.1 kB / 0.5729 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.5964, allocations: 23.86 kB / 0.5729 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008517/0.5973, allocations: 412.7 kB / 0.5733 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/0.5973, allocations: 7.984 kB / 0.5733 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.5973, allocations: 0.5156 kB / 0.5733 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.5973, allocations: 0 / 0.5733 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.5976, allocations: 225.3 kB / 0.5735 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.5976, allocations: 3.938 kB / 0.5735 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.5978, allocations: 27.97 kB / 0.5736 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5978, allocations: 0 / 0.5736 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.5978, allocations: 4 kB / 0.5736 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5978, allocations: 1.172 kB / 0.5736 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5978, allocations: 0 / 0.5736 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008154/0.5986, allocations: 456.5 kB / 0.574 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.35e-05/0.5987, allocations: 39.72 kB / 0.5741 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.5987, allocations: 4 kB / 0.5741 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.5989, allocations: 15.97 kB / 0.5741 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.599, allocations: 11.98 kB / 0.5741 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.599, allocations: 4 kB / 0.5741 GB, free: 8.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.973e-05/0.5991, allocations: 109.5 kB / 0.5742 GB, free: 8.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5991, allocations: 3.938 kB / 0.5742 GB, free: 8.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003644/0.6027, allocations: 1.137 MB / 0.5753 GB, free: 7.73 MB / 414.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.005497/0.6082, allocations: 1.683 MB / 0.5769 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007987/0.609, allocations: 287.9 kB / 0.5772 GB, free: 5.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.609, allocations: 0 / 0.5772 GB, free: 5.938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.6093, allocations: 136.4 kB / 0.5774 GB, free: 5.805 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.6104, allocations: 159.7 kB / 0.5775 GB, free: 5.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008034/0.6112, allocations: 415.2 kB / 0.5779 GB, free: 5.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.6114, allocations: 121.2 kB / 0.578 GB, free: 5.082 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.348e-05/0.6115, allocations: 18.69 kB / 0.578 GB, free: 5.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.6115, allocations: 20.5 kB / 0.5781 GB, free: 5.051 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6115, allocations: 0 / 0.5781 GB, free: 5.051 MB / 414.1 MB Notification: Performance of Templates: time 0.05124/0.6627, allocations: 31.17 MB / 0.6085 GB, free: 6.121 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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.371202012524009] Failed to read output from testmodel.py, exit status != 0: 0.670876033604145 0.68719876 0.22207099600000002 Calling exit ...