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.001348/0.001348, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001553/0.001553, allocations: 218.2 kB / 22.25 MB, free: 5.117 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.513/1.513, allocations: 207.6 MB / 233 MB, free: 9.977 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.05359/0.05359, allocations: 9.137 MB / 294.4 MB, free: 12.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp",fmuType="me",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.002312/0.002312, allocations: 69.12 kB / 411.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07863/0.08094, allocations: 50.77 MB / 461.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.02387/0.1048, allocations: 18.24 MB / 480.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01984/0.1246, allocations: 17.58 MB / 497.6 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.1248, allocations: 0 / 497.6 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008112/0.1257, allocations: 334.6 kB / 498 MB, free: 8.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005667/0.1262, allocations: 250.5 kB / 498.2 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.02013/0.1464, allocations: 7.753 MB / 0.4941 GB, free: 436 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005728/0.1469, allocations: 358.2 kB / 0.4944 GB, free: 76 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.462e-05/0.147, allocations: 8.594 kB / 0.4945 GB, free: 68 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/0.1474, allocations: 159.4 kB / 0.4946 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.1475, allocations: 99.58 kB / 0.4947 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1476, allocations: 4 kB / 0.4947 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02014/0.1677, allocations: 11.13 MB / 0.5056 GB, free: 4.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.706e-05/0.1678, allocations: 27.84 kB / 0.5056 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002699/0.168, allocations: 95.48 kB / 0.5057 GB, free: 4.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.1806, allocations: 4.481 MB / 0.5101 GB, free: 48 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.1806, allocations: 3.984 kB / 0.5101 GB, free: 44 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1806, allocations: 7.938 kB / 0.5101 GB, free: 36 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1806, allocations: 0 / 0.5101 GB, free: 36 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.002917/0.1835, allocations: 1.055 MB / 0.5111 GB, free: 14.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1836, allocations: 11.98 kB / 0.5111 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.341e-05/0.1836, allocations: 50.55 kB / 0.5112 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.1837, allocations: 19.86 kB / 0.5112 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.1839, allocations: 136.9 kB / 0.5113 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1839, allocations: 7.938 kB / 0.5113 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.1839, allocations: 8 kB / 0.5113 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.1843, allocations: 168.2 kB / 0.5115 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1843, allocations: 0 / 0.5115 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.1843, allocations: 4 kB / 0.5115 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.1843, allocations: 11.98 kB / 0.5115 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.1848, allocations: 160.3 kB / 0.5117 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.1851, allocations: 265.1 kB / 0.5119 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.1854, allocations: 158.9 kB / 0.5121 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.1857, allocations: 137.7 kB / 0.5122 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3282/0.5139, allocations: 27.47 MB / 0.539 GB, free: 68.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.5139, allocations: 39.75 kB / 0.5391 GB, free: 68.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.053e-06/0.5139, allocations: 5.219 kB / 0.5391 GB, free: 68.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.0009327/0.5148, allocations: 495.9 kB / 0.5395 GB, free: 68.63 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.5148, allocations: 51.41 kB / 0.5396 GB, free: 68.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.59e-05/0.5149, allocations: 141.8 kB / 0.5397 GB, free: 68.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.5149, allocations: 31.11 kB / 0.5398 GB, free: 68.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.379e-05/0.515, allocations: 85.14 kB / 0.5398 GB, free: 68.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.695e-05/0.515, allocations: 163.2 kB / 0.54 GB, free: 68.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.5151, allocations: 44.72 kB / 0.54 GB, free: 68.17 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.897e-05/0.5151, allocations: 338.8 kB / 0.5404 GB, free: 67.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.5154, allocations: 123.7 kB / 0.5405 GB, free: 67.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.5156, allocations: 129.8 kB / 0.5406 GB, free: 67.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.516, allocations: 291.5 kB / 0.5409 GB, free: 67.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.516, allocations: 0 / 0.5409 GB, free: 67.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000489/0.5165, allocations: 346.6 kB / 0.5412 GB, free: 67.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.5165, allocations: 3.969 kB / 0.5412 GB, free: 67.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.5165, allocations: 0 / 0.5412 GB, free: 67.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.5165, allocations: 0 / 0.5412 GB, free: 67.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.5167, allocations: 34.94 kB / 0.5412 GB, free: 67.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.5167, allocations: 0 / 0.5412 GB, free: 67.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.5168, allocations: 28.97 kB / 0.5413 GB, free: 67.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.5168, allocations: 7.922 kB / 0.5413 GB, free: 67.37 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 7.5e-05/0.5169, allocations: 125.7 kB / 0.5414 GB, free: 67.24 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.5169, allocations: 19.77 kB / 0.5414 GB, free: 67.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006366/0.5175, allocations: 418.8 kB / 0.5418 GB, free: 67.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.5176, allocations: 11.95 kB / 0.5418 GB, free: 67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5176, allocations: 0 / 0.5418 GB, free: 67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5176, allocations: 4 kB / 0.5418 GB, free: 67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.5177, allocations: 262.4 kB / 0.5421 GB, free: 66.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5177, allocations: 3.375 kB / 0.5421 GB, free: 66.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.5179, allocations: 24.53 kB / 0.5421 GB, free: 66.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.5179, allocations: 0 / 0.5421 GB, free: 66.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.5179, allocations: 7.969 kB / 0.5421 GB, free: 66.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5179, allocations: 0.8438 kB / 0.5421 GB, free: 66.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5179, allocations: 3.984 kB / 0.5421 GB, free: 66.74 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.5184, allocations: 389.6 kB / 0.5425 GB, free: 66.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.125e-05/0.5184, allocations: 40.77 kB / 0.5425 GB, free: 66.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.5185, allocations: 3.969 kB / 0.5425 GB, free: 66.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.5186, allocations: 15.89 kB / 0.5425 GB, free: 66.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.5186, allocations: 14.56 kB / 0.5426 GB, free: 66.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.5186, allocations: 11.97 kB / 0.5426 GB, free: 66.47 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.889e-05/0.5187, allocations: 95.17 kB / 0.5427 GB, free: 66.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.5187, allocations: 0 / 0.5427 GB, free: 66.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00229/0.521, allocations: 1.149 MB / 0.5438 GB, free: 66.25 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.003956/0.5249, allocations: 2.503 MB / 0.5462 GB, free: 64.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000541/0.5255, allocations: 280.2 kB / 0.5465 GB, free: 63.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5255, allocations: 3.938 kB / 0.5465 GB, free: 63.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.5257, allocations: 136.4 kB / 0.5466 GB, free: 63.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007705/0.5265, allocations: 175.5 kB / 0.5468 GB, free: 63.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.5279, allocations: 0.9415 MB / 0.5477 GB, free: 62.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.528, allocations: 0.7369 MB / 0.5484 GB, free: 61.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.411e-05/0.5281, allocations: 14.78 kB / 0.5485 GB, free: 61.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.5281, allocations: 47.42 kB / 0.5485 GB, free: 61.8 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5282, allocations: 0 / 0.5485 GB, free: 61.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05931/0.5875, allocations: 34 MB / 0.5817 GB, free: 27.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.9, allocations: 3.125 kB / 0.5817 GB, free: 27.83 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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0048 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: 16.15051484399737] Failed to read output from testmodel.py, exit status != 0: 13.019859494997945 13.030189421 12.847243784 Calling exit ...