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.00182/0.00182, 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.00159/0.00159, allocations: 212.9 kB / 22.25 MB, free: 5.125 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.533/1.533, allocations: 207.6 MB / 233 MB, free: 9.988 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.0535/0.0535, allocations: 9.147 MB / 294.4 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_pramp_Tsine,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine",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.002419/0.002419, allocations: 69.02 kB / 411.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07824/0.08066, allocations: 50.76 MB / 461.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.02474/0.1054, allocations: 18.24 MB / 480.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02263/0.128, allocations: 17.58 MB / 497.6 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002719/0.1283, allocations: 0 / 497.6 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009956/0.1293, allocations: 326.6 kB / 498 MB, free: 8.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007718/0.1301, allocations: 246.5 kB / 498.2 MB, free: 8.199 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.0223/0.1524, allocations: 7.762 MB / 0.4941 GB, free: 440 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005578/0.1529, allocations: 346.2 kB / 0.4944 GB, free: 92 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.075e-05/0.153, allocations: 12.59 kB / 0.4945 GB, free: 80 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004127/0.1534, allocations: 167.3 kB / 0.4946 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.1536, allocations: 95.62 kB / 0.4947 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.1537, allocations: 8 kB / 0.4947 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02326/0.1769, allocations: 11.12 MB / 0.5056 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.903e-05/0.177, allocations: 27.86 kB / 0.5056 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.1772, allocations: 103.5 kB / 0.5057 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01307/0.1903, allocations: 4.481 MB / 0.5101 GB, free: 52 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1903, allocations: 0 / 0.5101 GB, free: 52 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1903, allocations: 3.938 kB / 0.5101 GB, free: 48 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1903, allocations: 4 kB / 0.5101 GB, free: 44 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.002846/0.1932, allocations: 1.051 MB / 0.5111 GB, free: 14.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.1932, allocations: 11.98 kB / 0.5111 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/0.1933, allocations: 46.55 kB / 0.5112 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.1933, allocations: 19.86 kB / 0.5112 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.1935, allocations: 152.7 kB / 0.5113 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1935, allocations: 4 kB / 0.5113 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.1935, allocations: 4 kB / 0.5113 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.1939, allocations: 172.2 kB / 0.5115 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1939, allocations: 4 kB / 0.5115 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1939, allocations: 0 / 0.5115 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.194, allocations: 7.984 kB / 0.5115 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.1944, allocations: 164.3 kB / 0.5117 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000682/0.1951, allocations: 468.2 kB / 0.5121 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.1954, allocations: 142.9 kB / 0.5122 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.1956, allocations: 129.7 kB / 0.5124 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3336/0.5292, allocations: 27.47 MB / 0.5392 GB, free: 68.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.5293, allocations: 35.69 kB / 0.5392 GB, free: 68.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=47): time 2.625e-06/0.5293, allocations: 0 / 0.5392 GB, free: 68.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.001024/0.5303, allocations: 492.2 kB / 0.5397 GB, free: 68.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.5303, allocations: 53.78 kB / 0.5398 GB, free: 68.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.5305, allocations: 140.6 kB / 0.5399 GB, free: 68.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.5305, allocations: 25.7 kB / 0.5399 GB, free: 68.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.5305, allocations: 93.05 kB / 0.54 GB, free: 68.01 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/0.5306, allocations: 153.3 kB / 0.5401 GB, free: 67.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.578e-05/0.5307, allocations: 49.06 kB / 0.5402 GB, free: 67.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.956e-05/0.5307, allocations: 333.5 kB / 0.5405 GB, free: 67.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.531, allocations: 122.4 kB / 0.5406 GB, free: 67.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.5312, allocations: 120.8 kB / 0.5407 GB, free: 67.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.5316, allocations: 299.6 kB / 0.541 GB, free: 67.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5316, allocations: 0 / 0.541 GB, free: 67.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005279/0.5321, allocations: 339 kB / 0.5414 GB, free: 67.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.5321, allocations: 7.938 kB / 0.5414 GB, free: 67.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5322, allocations: 0 / 0.5414 GB, free: 67.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.5322, allocations: 0 / 0.5414 GB, free: 67.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.5323, allocations: 31.67 kB / 0.5414 GB, free: 67.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.5323, allocations: 1.953 kB / 0.5414 GB, free: 67.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.5325, allocations: 36.08 kB / 0.5414 GB, free: 67.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.5325, allocations: 0 / 0.5414 GB, free: 67.06 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 (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 9.733e-05/0.5326, allocations: 121.8 kB / 0.5415 GB, free: 66.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.5326, allocations: 19.8 kB / 0.5416 GB, free: 66.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006857/0.5333, allocations: 418.8 kB / 0.542 GB, free: 66.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.5333, allocations: 16.77 kB / 0.542 GB, free: 66.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5333, allocations: 0 / 0.542 GB, free: 66.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5334, allocations: 3.984 kB / 0.542 GB, free: 66.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.5336, allocations: 262.7 kB / 0.5422 GB, free: 66.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5336, allocations: 4 kB / 0.5422 GB, free: 66.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.5337, allocations: 16.64 kB / 0.5423 GB, free: 66.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.5338, allocations: 8.703 kB / 0.5423 GB, free: 66.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5338, allocations: 0 / 0.5423 GB, free: 66.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.5338, allocations: 3.938 kB / 0.5423 GB, free: 66.44 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5338, allocations: 0 / 0.5423 GB, free: 66.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.5343, allocations: 449.6 kB / 0.5427 GB, free: 66.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.659e-05/0.5344, allocations: 40.22 kB / 0.5427 GB, free: 66.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.5344, allocations: 7.219 kB / 0.5427 GB, free: 66.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.5346, allocations: 24.5 kB / 0.5428 GB, free: 66.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.5346, allocations: 10.42 kB / 0.5428 GB, free: 66.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.5346, allocations: 3.75 kB / 0.5428 GB, free: 66.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.468e-05/0.5347, allocations: 106.9 kB / 0.5429 GB, free: 66.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5347, allocations: 0 / 0.5429 GB, free: 66.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002856/0.5375, allocations: 1.136 MB / 0.544 GB, free: 65.89 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 (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.005488/0.543, allocations: 2.571 MB / 0.5465 GB, free: 63.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005832/0.5436, allocations: 275.3 kB / 0.5468 GB, free: 63.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5436, allocations: 0 / 0.5468 GB, free: 63.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.5439, allocations: 136.4 kB / 0.5469 GB, free: 63.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000842/0.5447, allocations: 164 kB / 0.547 GB, free: 63.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.5466, allocations: 0.9346 MB / 0.548 GB, free: 62.26 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.5467, allocations: 0.733 MB / 0.5487 GB, free: 61.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.5468, allocations: 14.39 kB / 0.5487 GB, free: 61.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.5469, allocations: 51.42 kB / 0.5487 GB, free: 61.44 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.5469, allocations: 4 kB / 0.5487 GB, free: 61.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06629/0.6132, allocations: 33.98 MB / 0.5819 GB, free: 27.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.08, allocations: 4 kB / 0.5819 GB, free: 27.49 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.891282872995362] Failed to read output from testmodel.py, exit status != 0: 13.208065805025399 13.22593408 13.032132216 Calling exit ...