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.001551/0.001551, allocations: 108.1 kB / 16.45 MB, free: 6.508 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.001655/0.001655, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.499/1.499, allocations: 207.6 MB / 229.8 MB, free: 4.227 MB / 174.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.05374/0.05374, allocations: 9.151 MB / 290.8 MB, free: 7.277 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.00243/0.00243, allocations: 67.89 kB / 405.9 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.265, allocations: 50.72 MB / 456.6 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.0212/0.2862, allocations: 18.2 MB / 474.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0203/0.3065, allocations: 17.57 MB / 492.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002314/0.3067, allocations: 0 / 492.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008544/0.3076, allocations: 326.6 kB / 492.7 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006313/0.3082, allocations: 254.5 kB / 492.9 MB, free: 3.445 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.02008/0.3283, allocations: 7.684 MB / 0.4889 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005101/0.3288, allocations: 350.1 kB / 0.4892 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.047e-05/0.3288, allocations: 12.3 kB / 0.4892 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003586/0.3292, allocations: 167.3 kB / 0.4894 GB, free: 11.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.3294, allocations: 87.64 kB / 0.4895 GB, free: 11.13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.3294, allocations: 8 kB / 0.4895 GB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02092/0.3503, allocations: 10.8 MB / 0.5 GB, free: 308 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.3504, allocations: 19.92 kB / 0.5 GB, free: 288 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.3506, allocations: 103.5 kB / 0.5001 GB, free: 184 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01356/0.3641, allocations: 4.469 MB / 0.5045 GB, free: 11.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3641, allocations: 0 / 0.5045 GB, free: 11.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3641, allocations: 0 / 0.5045 GB, free: 11.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.3642, allocations: 0 / 0.5045 GB, free: 11.7 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.00275/0.3669, allocations: 1.126 MB / 0.5056 GB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3669, allocations: 16.03 kB / 0.5056 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.358e-05/0.367, allocations: 50.55 kB / 0.5057 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.3671, allocations: 19.86 kB / 0.5057 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.3672, allocations: 198.7 kB / 0.5059 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3672, allocations: 8 kB / 0.5059 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.3673, allocations: 0 / 0.5059 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.3677, allocations: 168.2 kB / 0.506 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3677, allocations: 0 / 0.506 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3677, allocations: 4 kB / 0.506 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.3677, allocations: 11.98 kB / 0.506 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.3682, allocations: 160.2 kB / 0.5062 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.3685, allocations: 290 kB / 0.5065 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.3689, allocations: 158.9 kB / 0.5066 GB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.3692, allocations: 129.6 kB / 0.5068 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1685/0.5377, allocations: 93.62 MB / 0.5982 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.488e-05/0.5377, allocations: 42.48 kB / 0.5982 GB, free: 11.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=48): time 2.525e-06/0.5377, allocations: 0 / 0.5982 GB, free: 11.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=48): time 0.001145/0.5388, allocations: 483.7 kB / 0.5987 GB, free: 10.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.5389, allocations: 55.41 kB / 0.5987 GB, free: 10.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.539, allocations: 134.2 kB / 0.5989 GB, free: 10.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.5391, allocations: 25.7 kB / 0.5989 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.5391, allocations: 93.12 kB / 0.599 GB, free: 10.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.5393, allocations: 162.5 kB / 0.5991 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.917e-05/0.5393, allocations: 41.69 kB / 0.5992 GB, free: 10.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5395, allocations: 330.8 kB / 0.5995 GB, free: 9.781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.5398, allocations: 116.4 kB / 0.5996 GB, free: 9.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.54, allocations: 122.1 kB / 0.5997 GB, free: 9.547 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000581/0.5406, allocations: 291.6 kB / 0.6 GB, free: 9.258 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5406, allocations: 7.938 kB / 0.6 GB, free: 9.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007095/0.5413, allocations: 333.2 kB / 0.6003 GB, free: 8.922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.5414, allocations: 4 kB / 0.6003 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.5414, allocations: 0 / 0.6003 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.5414, allocations: 4 kB / 0.6003 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.5416, allocations: 19.97 kB / 0.6003 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.5416, allocations: 8 kB / 0.6004 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.5417, allocations: 31.75 kB / 0.6004 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.5418, allocations: 8 kB / 0.6004 GB, free: 8.848 MB / 494.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 0.0001337/0.5419, allocations: 129.8 kB / 0.6005 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.5419, allocations: 23.8 kB / 0.6005 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008874/0.5428, allocations: 404 kB / 0.6009 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/0.5428, allocations: 7.984 kB / 0.6009 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5429, allocations: 0 / 0.6009 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5429, allocations: 0 / 0.6009 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.5432, allocations: 309.5 kB / 0.6012 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5432, allocations: 4 kB / 0.6012 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.5433, allocations: 23.97 kB / 0.6012 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.5433, allocations: 4 kB / 0.6013 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.5433, allocations: 0 / 0.6013 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-06/0.5434, allocations: 4 kB / 0.6013 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.5434, allocations: 0 / 0.6013 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007325/0.5441, allocations: 385.4 kB / 0.6016 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.5442, allocations: 108.9 kB / 0.6017 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.5442, allocations: 4 kB / 0.6017 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.5444, allocations: 19.95 kB / 0.6018 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.5445, allocations: 15.98 kB / 0.6018 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.5445, allocations: 7.938 kB / 0.6018 GB, free: 7.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.599e-05/0.5446, allocations: 111 kB / 0.6019 GB, free: 7.215 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5446, allocations: 0 / 0.6019 GB, free: 7.215 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002793/0.5473, allocations: 1.137 MB / 0.603 GB, free: 6.074 MB / 494.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.00649/0.5538, allocations: 2.492 MB / 0.6054 GB, free: 3.547 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000802/0.5546, allocations: 279.2 kB / 0.6057 GB, free: 3.273 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5546, allocations: 0 / 0.6057 GB, free: 3.273 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.555, allocations: 128.4 kB / 0.6058 GB, free: 3.148 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009859/0.556, allocations: 160.4 kB / 0.606 GB, free: 2.992 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.559, allocations: 0.9346 MB / 0.6069 GB, free: 2.008 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.5593, allocations: 0.7329 MB / 0.6076 GB, free: 1.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.5594, allocations: 20.42 kB / 0.6076 GB, free: 1.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.5596, allocations: 47.42 kB / 0.6077 GB, free: 1.184 MB / 494.1 MB Notification: Performance of SimCode: time 1.302e-06/0.5596, allocations: 4 kB / 0.6077 GB, free: 1.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3062/0.8657, allocations: 33.62 MB / 0.6405 GB, free: 146.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/11.1, allocations: 7.844 kB / 0.6405 GB, free: 146.9 MB / 494.1 MB " [Timeout remaining time 649] (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: 13.65858824364841] Failed to read output from testmodel.py, exit status != 0: 11.19389584986493 11.206481798 10.839882599 Calling exit ...