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.00144/0.00144, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001376/0.001376, allocations: 212.8 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 207.6 MB / 233.8 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04975/0.04975, allocations: 9.154 MB / 295.2 MB, free: 12.69 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 67.34 kB / 411.8 MB, free: 46.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07143/0.07352, allocations: 50.76 MB / 462.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.02085/0.09437, allocations: 18.24 MB / 480.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01834/0.1127, allocations: 17.59 MB / 498.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.1129, allocations: 0 / 498.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007729/0.1137, allocations: 330.5 kB / 498.8 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005668/0.1142, allocations: 242.6 kB / 499 MB, free: 8.188 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887: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 master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887: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 master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231: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 master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231: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.01815/0.1324, allocations: 7.765 MB / 0.4949 GB, free: 424 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004817/0.1329, allocations: 346.2 kB / 0.4952 GB, free: 76 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.694e-05/0.1329, allocations: 16.59 kB / 0.4952 GB, free: 60 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003325/0.1333, allocations: 163.3 kB / 0.4954 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.1334, allocations: 95.58 kB / 0.4955 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1335, allocations: 8 kB / 0.4955 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01922/0.1527, allocations: 11.12 MB / 0.5063 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.1527, allocations: 23.86 kB / 0.5064 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.153, allocations: 103.5 kB / 0.5065 GB, free: 4.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.165, allocations: 4.481 MB / 0.5108 GB, free: 36 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.165, allocations: 0 / 0.5108 GB, free: 36 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.165, allocations: 3.938 kB / 0.5108 GB, free: 32 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1651, allocations: 0 / 0.5108 GB, free: 32 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.002621/0.1677, allocations: 1.058 MB / 0.5119 GB, free: 14.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.1677, allocations: 11.98 kB / 0.5119 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.841e-05/0.1677, allocations: 4 kB / 0.5119 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.1678, allocations: 46.55 kB / 0.5119 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.1678, allocations: 19.86 kB / 0.512 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.168, allocations: 144.3 kB / 0.5121 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.168, allocations: 8 kB / 0.5121 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.168, allocations: 4 kB / 0.5121 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.1684, allocations: 176.2 kB / 0.5123 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1684, allocations: 3.938 kB / 0.5123 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1684, allocations: 0 / 0.5123 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.1684, allocations: 11.98 kB / 0.5123 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.1689, allocations: 160.3 kB / 0.5124 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.1692, allocations: 273.1 kB / 0.5127 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003281/0.1695, allocations: 150.9 kB / 0.5128 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.1698, allocations: 133.7 kB / 0.513 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2775/0.4473, allocations: 27.48 MB / 0.5398 GB, free: 68.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.4473, allocations: 33.97 kB / 0.5398 GB, free: 68.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.345e-06/0.4473, allocations: 7.938 kB / 0.5398 GB, free: 68.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.0009182/0.4482, allocations: 490.9 kB / 0.5403 GB, free: 68.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.4483, allocations: 59.38 kB / 0.5404 GB, free: 68.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.503e-05/0.4483, allocations: 134 kB / 0.5405 GB, free: 68.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.4484, allocations: 33.67 kB / 0.5405 GB, free: 68.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.589e-05/0.4484, allocations: 85.14 kB / 0.5406 GB, free: 68.26 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.78e-05/0.4485, allocations: 153.4 kB / 0.5408 GB, free: 68.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.836e-05/0.4485, allocations: 51.3 kB / 0.5408 GB, free: 68.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.4486, allocations: 330.3 kB / 0.5411 GB, free: 67.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.4488, allocations: 123.7 kB / 0.5412 GB, free: 67.72 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.449, allocations: 132 kB / 0.5414 GB, free: 67.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004455/0.4494, allocations: 299 kB / 0.5417 GB, free: 67.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4494, allocations: 3 kB / 0.5417 GB, free: 67.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005254/0.45, allocations: 344.5 kB / 0.542 GB, free: 67.33 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.45, allocations: 3.906 kB / 0.542 GB, free: 67.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.45, allocations: 0 / 0.542 GB, free: 67.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.45, allocations: 0 / 0.542 GB, free: 67.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.4502, allocations: 25.88 kB / 0.542 GB, free: 67.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4502, allocations: 3.938 kB / 0.542 GB, free: 67.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.4503, allocations: 32.23 kB / 0.542 GB, free: 67.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.4503, allocations: 0 / 0.542 GB, free: 67.31 MB / 398.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 8.062e-05/0.4504, allocations: 129.7 kB / 0.5422 GB, free: 67.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.4504, allocations: 19.77 kB / 0.5422 GB, free: 67.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006518/0.4511, allocations: 420 kB / 0.5426 GB, free: 66.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.4511, allocations: 11.7 kB / 0.5426 GB, free: 66.94 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4511, allocations: 0 / 0.5426 GB, free: 66.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4511, allocations: 0 / 0.5426 GB, free: 66.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.4513, allocations: 262.1 kB / 0.5429 GB, free: 66.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4513, allocations: 3.938 kB / 0.5429 GB, free: 66.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.4514, allocations: 29.5 kB / 0.5429 GB, free: 66.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4514, allocations: 5.078 kB / 0.5429 GB, free: 66.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.4514, allocations: 0 / 0.5429 GB, free: 66.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.4514, allocations: 0.875 kB / 0.5429 GB, free: 66.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4514, allocations: 1.031 kB / 0.5429 GB, free: 66.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005169/0.4519, allocations: 393.7 kB / 0.5433 GB, free: 66.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.452, allocations: 39.25 kB / 0.5433 GB, free: 66.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.452, allocations: 3.969 kB / 0.5433 GB, free: 66.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.4521, allocations: 15.86 kB / 0.5433 GB, free: 66.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.4522, allocations: 15.94 kB / 0.5433 GB, free: 66.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.4522, allocations: 4.844 kB / 0.5433 GB, free: 66.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.349e-05/0.4523, allocations: 95.11 kB / 0.5434 GB, free: 66.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4523, allocations: 0 / 0.5434 GB, free: 66.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002224/0.4545, allocations: 1.149 MB / 0.5446 GB, free: 66.19 MB / 398.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.004448/0.4589, allocations: 2.51 MB / 0.547 GB, free: 64.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005914/0.4595, allocations: 279.3 kB / 0.5473 GB, free: 63.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4595, allocations: 4 kB / 0.5473 GB, free: 63.83 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.4598, allocations: 144.9 kB / 0.5474 GB, free: 63.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008168/0.4606, allocations: 159.8 kB / 0.5476 GB, free: 63.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.4626, allocations: 0.9491 MB / 0.5485 GB, free: 62.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.4627, allocations: 0.7291 MB / 0.5492 GB, free: 61.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.4628, allocations: 18.81 kB / 0.5492 GB, free: 61.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.4629, allocations: 51.42 kB / 0.5493 GB, free: 61.75 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4629, allocations: 0 / 0.5493 GB, free: 61.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05531/0.5182, allocations: 34.03 MB / 0.5825 GB, free: 27.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.62, allocations: 8.062 kB / 0.5825 GB, free: 27.74 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.140483803930692] Failed to read output from testmodel.py, exit status != 0: 12.791338493931107 12.801795573 12.634463389 Calling exit ...