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.001659/0.001659, 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.001546/0.001546, allocations: 219.6 kB / 22.25 MB, free: 5.121 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.524/1.524, allocations: 207.6 MB / 233 MB, free: 9.969 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.0531/0.0531, allocations: 9.146 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.002418/0.002418, allocations: 73.25 kB / 411.1 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08153/0.08395, 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.02414/0.1081, allocations: 18.24 MB / 480.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0202/0.1283, allocations: 17.57 MB / 497.6 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.1285, allocations: 0 / 497.6 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008083/0.1293, allocations: 342.5 kB / 498 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006787/0.13, allocations: 238.6 kB / 498.2 MB, free: 8.191 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.02043/0.1504, allocations: 7.77 MB / 0.4941 GB, free: 420 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005259/0.1509, allocations: 346.2 kB / 0.4944 GB, free: 72 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.636e-05/0.151, allocations: 8.594 kB / 0.4945 GB, free: 64 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.1513, allocations: 163.3 kB / 0.4946 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.1515, allocations: 103.6 kB / 0.4947 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1515, allocations: 8 kB / 0.4947 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0205/0.172, allocations: 11.11 MB / 0.5056 GB, free: 4.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.1721, allocations: 27.84 kB / 0.5056 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.1723, allocations: 99.48 kB / 0.5057 GB, free: 4.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.1848, allocations: 4.489 MB / 0.5101 GB, free: 36 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.455e-06/0.1848, allocations: 4 kB / 0.5101 GB, free: 32 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1848, allocations: 7.938 kB / 0.5101 GB, free: 24 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1848, allocations: 0 / 0.5101 GB, free: 24 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.002911/0.1877, allocations: 1.047 MB / 0.5111 GB, free: 14.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1878, allocations: 11.98 kB / 0.5111 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.463e-05/0.1878, allocations: 50.53 kB / 0.5112 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.1879, allocations: 23.86 kB / 0.5112 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.188, allocations: 140.3 kB / 0.5113 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.188, allocations: 4 kB / 0.5113 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.188, allocations: 8 kB / 0.5113 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.1884, allocations: 172.2 kB / 0.5115 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1885, allocations: 3.938 kB / 0.5115 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1885, allocations: 0 / 0.5115 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.1885, allocations: 11.98 kB / 0.5115 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004746/0.189, allocations: 164.3 kB / 0.5117 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007048/0.1897, allocations: 468.2 kB / 0.5121 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.1901, allocations: 138.9 kB / 0.5123 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.1904, allocations: 133.7 kB / 0.5124 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3355/0.5258, allocations: 27.46 MB / 0.5392 GB, free: 41.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.5259, allocations: 34.45 kB / 0.5392 GB, free: 41.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=47): time 3.066e-06/0.5259, allocations: 7.562 kB / 0.5392 GB, free: 41.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.0009883/0.5268, allocations: 481.7 kB / 0.5397 GB, free: 41.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.5269, allocations: 52.75 kB / 0.5397 GB, free: 41.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.527, allocations: 143.7 kB / 0.5399 GB, free: 41.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.527, allocations: 30.81 kB / 0.5399 GB, free: 41.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.5271, allocations: 96.78 kB / 0.54 GB, free: 41.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.075e-05/0.5271, allocations: 152.4 kB / 0.5402 GB, free: 41.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.5272, allocations: 43.41 kB / 0.5402 GB, free: 41.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.5273, allocations: 331.8 kB / 0.5405 GB, free: 41.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.5275, allocations: 116.8 kB / 0.5406 GB, free: 41.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.5277, allocations: 127.6 kB / 0.5407 GB, free: 41.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004772/0.5282, allocations: 295 kB / 0.541 GB, free: 41.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5282, allocations: 0 / 0.541 GB, free: 41.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006188/0.5288, allocations: 342 kB / 0.5413 GB, free: 41.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.5288, allocations: 4.875 kB / 0.5414 GB, free: 41.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.5288, allocations: 1.188 kB / 0.5414 GB, free: 41.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.5289, allocations: 3.281 kB / 0.5414 GB, free: 41.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.529, allocations: 26.06 kB / 0.5414 GB, free: 41.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.529, allocations: 1.438 kB / 0.5414 GB, free: 41.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.5292, allocations: 35.25 kB / 0.5414 GB, free: 41.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.5293, allocations: 7.75 kB / 0.5414 GB, free: 41.11 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 0.0001239/0.5294, allocations: 128.3 kB / 0.5415 GB, free: 40.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/0.5295, allocations: 20.14 kB / 0.5416 GB, free: 40.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008701/0.5303, allocations: 411.5 kB / 0.542 GB, free: 40.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.5303, allocations: 5.234 kB / 0.542 GB, free: 40.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5304, allocations: 1.594 kB / 0.542 GB, free: 40.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.5304, allocations: 0 / 0.542 GB, free: 40.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002851/0.5306, allocations: 264.6 kB / 0.5422 GB, free: 40.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5306, allocations: 3.188 kB / 0.5422 GB, free: 40.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.5308, allocations: 28.58 kB / 0.5422 GB, free: 40.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.5308, allocations: 2.625 kB / 0.5423 GB, free: 40.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.5308, allocations: 11.08 kB / 0.5423 GB, free: 40.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.5308, allocations: 0 / 0.5423 GB, free: 40.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5308, allocations: 0 / 0.5423 GB, free: 40.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.5314, allocations: 447.9 kB / 0.5427 GB, free: 40.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-05/0.5314, allocations: 38.72 kB / 0.5427 GB, free: 40.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.5315, allocations: 1.031 kB / 0.5427 GB, free: 40.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.5316, allocations: 17.98 kB / 0.5427 GB, free: 40.58 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.5317, allocations: 21.78 kB / 0.5428 GB, free: 40.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.5317, allocations: 7.438 kB / 0.5428 GB, free: 40.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.552e-05/0.5317, allocations: 102.6 kB / 0.5429 GB, free: 40.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5317, allocations: 0 / 0.5429 GB, free: 40.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002992/0.5347, allocations: 1.145 MB / 0.544 GB, free: 40.45 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.005185/0.5399, allocations: 2.562 MB / 0.5465 GB, free: 39.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005886/0.5405, allocations: 275.8 kB / 0.5468 GB, free: 39.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5405, allocations: 0 / 0.5468 GB, free: 39.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.5407, allocations: 134.7 kB / 0.5469 GB, free: 39.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008923/0.5416, allocations: 168.4 kB / 0.547 GB, free: 39.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.5434, allocations: 0.9199 MB / 0.5479 GB, free: 39.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.5436, allocations: 0.7318 MB / 0.5487 GB, free: 38.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.5437, allocations: 18.48 kB / 0.5487 GB, free: 38.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.979e-05/0.5437, allocations: 49.88 kB / 0.5487 GB, free: 38.33 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5437, allocations: 0 / 0.5487 GB, free: 38.33 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06396/0.6077, allocations: 33.98 MB / 0.5819 GB, free: 8.121 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.86, allocations: 3.938 kB / 0.5819 GB, free: 8.117 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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine_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_pramp_Tsine.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.76337909400172] Failed to read output from testmodel.py, exit status != 0: 12.984821543002909 13.009853186 12.819125836 Calling exit ...