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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 111.5 kB / 16.41 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.391/1.391, allocations: 205.1 MB / 227.2 MB, free: 12.14 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.05132/0.05132, allocations: 9.095 MB / 285.7 MB, free: 0.8398 MB / 222.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 78.14 kB / 395.7 MB, free: 49.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06955/0.07167, allocations: 48.17 MB / 443.8 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.02011/0.09184, allocations: 18.13 MB / 462 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02094/0.1129, allocations: 17.53 MB / 479.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.1131, allocations: 4 kB / 479.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008952/0.1141, allocations: 302.5 kB / 479.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005775/0.1147, allocations: 222.6 kB / 480 MB, free: 2.668 MB / 350.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.01852/0.1332, allocations: 7.302 MB / 487.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004694/0.1337, allocations: 354.2 kB / 487.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.882e-05/0.1338, allocations: 16.31 kB / 487.7 MB, free: 11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.1341, allocations: 159.3 kB / 487.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.1343, allocations: 91.58 kB / 487.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.1343, allocations: 8 kB / 487.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01882/0.1531, allocations: 10.63 MB / 498.6 MB, free: 96 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.1532, allocations: 19.92 kB / 498.6 MB, free: 76 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002402/0.1535, allocations: 103.5 kB / 498.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.1666, allocations: 4.469 MB / 0.4914 GB, free: 11.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1666, allocations: 0 / 0.4914 GB, free: 11.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1666, allocations: 0 / 0.4914 GB, free: 11.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.1667, allocations: 4 kB / 0.4914 GB, free: 11.49 MB / 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.003322/0.17, allocations: 1.13 MB / 0.4925 GB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.1701, allocations: 12.03 kB / 0.4925 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.27e-05/0.1701, allocations: 46.55 kB / 0.4925 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.1702, allocations: 19.86 kB / 0.4925 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.1704, allocations: 190.7 kB / 0.4927 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1704, allocations: 4 kB / 0.4927 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.1704, allocations: 7.984 kB / 0.4927 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.1709, allocations: 172.2 kB / 0.4929 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1709, allocations: 0 / 0.4929 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1709, allocations: 4 kB / 0.4929 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.1709, allocations: 7.984 kB / 0.4929 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004688/0.1714, allocations: 164.2 kB / 0.4931 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007104/0.1721, allocations: 493.2 kB / 0.4935 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.1725, allocations: 162.9 kB / 0.4937 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.1728, allocations: 157.7 kB / 0.4938 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3523/0.5251, allocations: 93.61 MB / 0.5853 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.5252, allocations: 36.59 kB / 0.5853 GB, free: 15.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 3.206e-06/0.5252, allocations: 0 / 0.5853 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.0009629/0.5262, allocations: 470.7 kB / 0.5857 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.5262, allocations: 56.94 kB / 0.5858 GB, free: 15.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.268e-05/0.5263, allocations: 148.3 kB / 0.5859 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.5263, allocations: 29.52 kB / 0.586 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.5264, allocations: 88.45 kB / 0.586 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.324e-05/0.5264, allocations: 157.1 kB / 0.5862 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.5265, allocations: 44.77 kB / 0.5862 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.314e-05/0.5266, allocations: 332.2 kB / 0.5866 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.5268, allocations: 122.3 kB / 0.5867 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.527, allocations: 116.5 kB / 0.5868 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004613/0.5275, allocations: 284.2 kB / 0.5871 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5275, allocations: 0 / 0.5871 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005238/0.528, allocations: 328.7 kB / 0.5874 GB, free: 14.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.528, allocations: 3.594 kB / 0.5874 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.528, allocations: 0 / 0.5874 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.5281, allocations: 2.859 kB / 0.5874 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.5282, allocations: 31.11 kB / 0.5874 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.5282, allocations: 7.281 kB / 0.5874 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.5284, allocations: 28.69 kB / 0.5874 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.5284, allocations: 4.516 kB / 0.5874 GB, free: 14.34 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 (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 7.04e-05/0.5285, allocations: 129.1 kB / 0.5876 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.5285, allocations: 19.17 kB / 0.5876 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006705/0.5292, allocations: 400.7 kB / 0.588 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.5292, allocations: 13.09 kB / 0.588 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5292, allocations: 0 / 0.588 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5292, allocations: 1.078 kB / 0.588 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.5295, allocations: 292.1 kB / 0.5883 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5295, allocations: 5.531 kB / 0.5883 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.5296, allocations: 20.31 kB / 0.5883 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5296, allocations: 0 / 0.5883 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.5296, allocations: 8.703 kB / 0.5883 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5296, allocations: 0 / 0.5883 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5296, allocations: 8.156 kB / 0.5883 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/0.5302, allocations: 444.2 kB / 0.5887 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.5303, allocations: 113.5 kB / 0.5888 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.5303, allocations: 3.188 kB / 0.5888 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.5305, allocations: 18.58 kB / 0.5888 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.5305, allocations: 11.05 kB / 0.5889 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.5305, allocations: 7.906 kB / 0.5889 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.832e-05/0.5306, allocations: 105.6 kB / 0.589 GB, free: 13.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5306, allocations: 0 / 0.589 GB, free: 13.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002155/0.5328, allocations: 1.138 MB / 0.5901 GB, free: 13.52 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 (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.004425/0.5372, allocations: 2.562 MB / 0.5926 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006865/0.5379, allocations: 291 kB / 0.5929 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.5379, allocations: 0 / 0.5929 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.5382, allocations: 162.1 kB / 0.593 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009393/0.5392, allocations: 164.3 kB / 0.5932 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.541, allocations: 0.9062 MB / 0.5941 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.5412, allocations: 0.7367 MB / 0.5948 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.5413, allocations: 22.8 kB / 0.5948 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.243e-05/0.5414, allocations: 53.3 kB / 0.5948 GB, free: 10.6 MB / 414.1 MB Notification: Performance of SimCode: time 1.173e-06/0.5414, allocations: 3.75 kB / 0.5949 GB, free: 10.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0688/0.6102, allocations: 33.57 MB / 0.6276 GB, free: 9.207 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.345/9.955, allocations: 7.922 kB / 0.6276 GB, free: 9.199 MB / 446.1 MB " [Timeout remaining time 650] (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: 12.622904660995118] Failed to read output from testmodel.py, exit status != 0: 10.044634883059189 10.064918397 9.894419385 Calling exit ...