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.001445/0.001445, allocations: 108.7 kB / 16.45 MB, free: 6.453 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.00153/0.00153, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.448/1.448, allocations: 207.6 MB / 229.8 MB, free: 11.39 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.05118/0.05118, allocations: 9.144 MB / 290.8 MB, free: 13.89 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.002175/0.002175, allocations: 75.7 kB / 405.8 MB, free: 47.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08255/0.08473, allocations: 50.73 MB / 456.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.02242/0.1071, allocations: 18.2 MB / 474.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01901/0.1262, allocations: 17.57 MB / 492.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.1264, allocations: 0 / 492.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000856/0.1272, allocations: 338.5 kB / 492.7 MB, free: 9.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005811/0.1278, allocations: 242.6 kB / 492.9 MB, free: 9.727 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.02089/0.1487, allocations: 7.683 MB / 0.4889 GB, free: 2.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005783/0.1493, allocations: 354.2 kB / 0.4892 GB, free: 1.688 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.068e-05/0.1493, allocations: 8.312 kB / 0.4892 GB, free: 1.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.1497, allocations: 159.3 kB / 0.4894 GB, free: 1.523 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.1499, allocations: 107.6 kB / 0.4895 GB, free: 1.418 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1499, allocations: 4 kB / 0.4895 GB, free: 1.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02083/0.1707, allocations: 10.79 MB / 0.5 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.91e-05/0.1708, allocations: 27.91 kB / 0.5 GB, free: 6.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.171, allocations: 95.5 kB / 0.5001 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0142/0.1852, allocations: 4.481 MB / 0.5045 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1852, allocations: 0 / 0.5045 GB, free: 1.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1852, allocations: 0 / 0.5045 GB, free: 1.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.1852, allocations: 0 / 0.5045 GB, free: 1.992 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.002913/0.1882, allocations: 1.126 MB / 0.5056 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.1882, allocations: 12.03 kB / 0.5056 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.871e-05/0.1883, allocations: 46.55 kB / 0.5056 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.369e-05/0.1883, allocations: 23.86 kB / 0.5057 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.1885, allocations: 195.6 kB / 0.5059 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.1886, allocations: 8 kB / 0.5059 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.1886, allocations: 0 / 0.5059 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/0.189, allocations: 172.2 kB / 0.506 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.189, allocations: 3.938 kB / 0.506 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.189, allocations: 0 / 0.506 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.189, allocations: 11.98 kB / 0.506 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004675/0.1895, allocations: 164.2 kB / 0.5062 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007488/0.1902, allocations: 481.2 kB / 0.5067 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.1906, allocations: 142.9 kB / 0.5068 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.1909, allocations: 125.7 kB / 0.5069 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3305/0.5214, allocations: 93.61 MB / 0.5983 GB, free: 22.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.5214, allocations: 34.56 kB / 0.5984 GB, free: 22.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.966e-06/0.5214, allocations: 0 / 0.5984 GB, free: 22.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.0009484/0.5223, allocations: 476.4 kB / 0.5988 GB, free: 21.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.5224, allocations: 51.41 kB / 0.5989 GB, free: 21.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/0.5225, allocations: 146.5 kB / 0.599 GB, free: 21.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.5225, allocations: 29.7 kB / 0.599 GB, free: 21.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.5225, allocations: 89.08 kB / 0.5991 GB, free: 21.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/0.5226, allocations: 161 kB / 0.5993 GB, free: 21.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.747e-05/0.5226, allocations: 45.69 kB / 0.5993 GB, free: 21.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.378e-05/0.5227, allocations: 333.4 kB / 0.5996 GB, free: 20.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.5229, allocations: 116.4 kB / 0.5998 GB, free: 20.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.5231, allocations: 124.5 kB / 0.5999 GB, free: 20.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004413/0.5236, allocations: 275.7 kB / 0.6001 GB, free: 20.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5236, allocations: 4 kB / 0.6001 GB, free: 20.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005255/0.5241, allocations: 333.2 kB / 0.6005 GB, free: 20.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5241, allocations: 4 kB / 0.6005 GB, free: 20.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5241, allocations: 0 / 0.6005 GB, free: 20.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.5241, allocations: 7.938 kB / 0.6005 GB, free: 20.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.5243, allocations: 21.98 kB / 0.6005 GB, free: 20.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5243, allocations: 3.984 kB / 0.6005 GB, free: 20.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.5244, allocations: 36.11 kB / 0.6005 GB, free: 20.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.5244, allocations: 4 kB / 0.6005 GB, free: 20.02 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.176e-05/0.5245, allocations: 129.3 kB / 0.6007 GB, free: 19.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.5245, allocations: 15.91 kB / 0.6007 GB, free: 19.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006562/0.5252, allocations: 404.1 kB / 0.6011 GB, free: 19.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.5252, allocations: 7.984 kB / 0.6011 GB, free: 19.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5252, allocations: 0 / 0.6011 GB, free: 19.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.5252, allocations: 7.984 kB / 0.6011 GB, free: 19.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.5254, allocations: 285.5 kB / 0.6013 GB, free: 19.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5254, allocations: 0 / 0.6013 GB, free: 19.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.5256, allocations: 27.97 kB / 0.6014 GB, free: 19.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5256, allocations: 0 / 0.6014 GB, free: 19.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.5256, allocations: 11.94 kB / 0.6014 GB, free: 19.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5256, allocations: 0 / 0.6014 GB, free: 19.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5256, allocations: 0 / 0.6014 GB, free: 19.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005458/0.5261, allocations: 446.6 kB / 0.6018 GB, free: 18.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.5262, allocations: 109.3 kB / 0.6019 GB, free: 18.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.5262, allocations: 7.938 kB / 0.6019 GB, free: 18.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.5264, allocations: 16.84 kB / 0.6019 GB, free: 18.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.5264, allocations: 13.39 kB / 0.6019 GB, free: 18.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.5264, allocations: 4 kB / 0.6019 GB, free: 18.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.864e-05/0.5265, allocations: 99.27 kB / 0.602 GB, free: 18.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5265, allocations: 4 kB / 0.602 GB, free: 18.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002083/0.5286, allocations: 1.136 MB / 0.6032 GB, free: 17.41 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.004705/0.5333, allocations: 2.571 MB / 0.6057 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005752/0.5338, allocations: 275.1 kB / 0.6059 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5338, allocations: 0 / 0.6059 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.5341, allocations: 132.3 kB / 0.6061 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009111/0.535, allocations: 160.6 kB / 0.6062 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.5366, allocations: 0.9099 MB / 0.6071 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.5368, allocations: 0.7328 MB / 0.6078 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.271e-05/0.5368, allocations: 10.95 kB / 0.6078 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.5369, allocations: 55.42 kB / 0.6079 GB, free: 12.69 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5369, allocations: 0 / 0.6079 GB, free: 12.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06938/0.6063, allocations: 33.61 MB / 0.6407 GB, free: 11.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.8, allocations: 7.75 kB / 0.6407 GB, free: 11.15 MB / 446.1 MB " [Timeout remaining time 649] (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: 13.393656749743968] Failed to read output from testmodel.py, exit status != 0: 10.883989193011075 10.897965803 10.709731753 Calling exit ...