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.00197/0.00197, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002452/0.002452, allocations: 213 kB / 22.25 MB, free: 5.086 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 8.016 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.0516/0.0516, allocations: 9.117 MB / 321.6 MB, free: 10.45 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.002268/0.002268, allocations: 75.88 kB / 447.1 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1282, allocations: 54.94 MB / 0.4903 GB, free: 9.531 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.02537/0.1535, allocations: 18.31 MB / 0.5081 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2501/0.4036, allocations: 17.58 MB / 0.5253 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.4039, allocations: 4 kB / 0.5253 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008744/0.4048, allocations: 332.3 kB / 0.5256 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005314/0.4053, allocations: 251.6 kB / 0.5259 GB, free: 7.262 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.02079/0.4261, allocations: 7.757 MB / 0.5334 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.4266, allocations: 347.8 kB / 0.5338 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.847e-05/0.4267, allocations: 14.73 kB / 0.5338 GB, free: 6.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.427, allocations: 169.2 kB / 0.5339 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.4272, allocations: 97.44 kB / 0.534 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.4272, allocations: 6.875 kB / 0.534 GB, free: 6.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02166/0.4489, allocations: 11.13 MB / 0.5449 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.4489, allocations: 24.45 kB / 0.5449 GB, free: 2.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000265/0.4492, allocations: 103.3 kB / 0.545 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.4624, allocations: 4.501 MB / 0.5494 GB, free: 260 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.4624, allocations: 1.406 kB / 0.5494 GB, free: 260 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4624, allocations: 0 / 0.5494 GB, free: 260 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.4625, allocations: 0 / 0.5494 GB, free: 260 kB / 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.003713/0.4662, allocations: 1.062 MB / 0.5505 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.4662, allocations: 8.125 kB / 0.5505 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.4664, allocations: 30.11 kB / 0.5505 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.4666, allocations: 145.5 kB / 0.5506 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.4666, allocations: 2.344 kB / 0.5507 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.4666, allocations: 6.578 kB / 0.5507 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.467, allocations: 174.4 kB / 0.5508 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.467, allocations: 3.938 kB / 0.5508 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.467, allocations: 2.125 kB / 0.5508 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.4671, allocations: 18.03 kB / 0.5508 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.4675, allocations: 161.6 kB / 0.551 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.4678, allocations: 274.3 kB / 0.5513 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.4682, allocations: 155.6 kB / 0.5514 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.4684, allocations: 136.8 kB / 0.5515 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1208/0.5892, allocations: 27.47 MB / 0.5784 GB, free: 6.555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.5892, allocations: 34.56 kB / 0.5784 GB, free: 6.512 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.305e-06/0.5892, allocations: 0 / 0.5784 GB, free: 6.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.001144/0.5904, allocations: 491.7 kB / 0.5789 GB, free: 6.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.5904, allocations: 51.41 kB / 0.5789 GB, free: 5.961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.5906, allocations: 144.4 kB / 0.5791 GB, free: 5.812 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.5906, allocations: 29.7 kB / 0.5791 GB, free: 5.777 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.5907, allocations: 89.14 kB / 0.5792 GB, free: 5.684 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.5909, allocations: 158.9 kB / 0.5793 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/0.5909, allocations: 49.69 kB / 0.5794 GB, free: 5.477 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5911, allocations: 330.8 kB / 0.5797 GB, free: 5.145 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.5914, allocations: 128.3 kB / 0.5798 GB, free: 5.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.5916, allocations: 130 kB / 0.5799 GB, free: 4.895 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/0.5922, allocations: 287.7 kB / 0.5802 GB, free: 4.609 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5922, allocations: 0 / 0.5802 GB, free: 4.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006272/0.5928, allocations: 349.2 kB / 0.5805 GB, free: 4.262 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5928, allocations: 8 kB / 0.5805 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.5928, allocations: 0 / 0.5805 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.5928, allocations: 0 / 0.5805 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.593, allocations: 33.28 kB / 0.5806 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.593, allocations: 0 / 0.5806 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.5932, allocations: 35.77 kB / 0.5806 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.5932, allocations: 4 kB / 0.5806 GB, free: 4.184 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 (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 0.0001334/0.5934, allocations: 126.1 kB / 0.5807 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.5934, allocations: 28.59 kB / 0.5808 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008062/0.5942, allocations: 419.6 kB / 0.5812 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.5942, allocations: 11.98 kB / 0.5812 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.5942, allocations: 0 / 0.5812 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.5942, allocations: 0 / 0.5812 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.5945, allocations: 274.9 kB / 0.5814 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5945, allocations: 1.875 kB / 0.5814 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.5947, allocations: 30.22 kB / 0.5815 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5947, allocations: 0 / 0.5815 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.5947, allocations: 4.938 kB / 0.5815 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5947, allocations: 4 kB / 0.5815 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5947, allocations: 0 / 0.5815 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006881/0.5954, allocations: 393.4 kB / 0.5819 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-05/0.5954, allocations: 35.77 kB / 0.5819 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.5955, allocations: 0 / 0.5819 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.5956, allocations: 15.98 kB / 0.5819 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.5957, allocations: 15.97 kB / 0.5819 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.5957, allocations: 4 kB / 0.5819 GB, free: 2.785 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.928e-05/0.5957, allocations: 101.2 kB / 0.582 GB, free: 2.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5957, allocations: 0 / 0.582 GB, free: 2.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003679/0.5994, allocations: 1.149 MB / 0.5831 GB, free: 1.535 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 (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.005528/0.605, allocations: 1.686 MB / 0.5848 GB, free: 20 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008261/0.6058, allocations: 279.5 kB / 0.5851 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6058, allocations: 3.844 kB / 0.5851 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.6061, allocations: 140.5 kB / 0.5852 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.607, allocations: 166.7 kB / 0.5854 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008907/0.6079, allocations: 432.3 kB / 0.5858 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.6083, allocations: 0.7369 MB / 0.5865 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.982e-05/0.6084, allocations: 16.11 kB / 0.5865 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.6084, allocations: 19.44 kB / 0.5865 GB, free: 14.21 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6084, allocations: 0 / 0.5865 GB, free: 14.21 MB / 430.1 MB Notification: Performance of Templates: time 0.04926/0.6577, allocations: 31.04 MB / 0.6168 GB, free: 15.32 MB / 462.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 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.731498523149639] Failed to read output from testmodel.py, exit status != 0: 0.6666086269542575 0.6826588849999999 0.216662121 Calling exit ...