Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.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.001308/0.001308, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00209/0.00209, allocations: 217.2 kB / 22.25 MB, free: 5.078 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.535/1.535, allocations: 207.6 MB / 233 MB, free: 10 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.05265/0.05265, allocations: 9.162 MB / 294.4 MB, free: 12.8 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_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport",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.002202/0.002202, allocations: 67.39 kB / 411.1 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07649/0.07869, allocations: 50.76 MB / 461.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02345/0.1021, allocations: 17.51 MB / 479.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.1141, allocations: 10.12 MB / 489.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1142, allocations: 4 kB / 489.5 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008381/0.1151, allocations: 299.6 kB / 489.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004253/0.1155, allocations: 155.3 kB / 489.9 MB, free: 0.5742 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/Transport/thermalConductivity_dilute.mo:2:1-75:31:writable] Warning: Pure function 'HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.Medium.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01556/0.1311, allocations: 5.926 MB / 495.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.1314, allocations: 151.2 kB / 496 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.1314, allocations: 5.594 kB / 496 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.1317, allocations: 95.52 kB / 496.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.1319, allocations: 51.83 kB / 496.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1319, allocations: 8 kB / 496.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01725/0.1491, allocations: 9.525 MB / 0.4938 GB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.639e-05/0.1492, allocations: 19.92 kB / 0.4938 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.843e-05/0.1493, allocations: 43.8 kB / 0.4939 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009199/0.1585, allocations: 3.515 MB / 0.4973 GB, free: 13.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1585, allocations: 0 / 0.4973 GB, free: 13.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1585, allocations: 0 / 0.4973 GB, free: 13.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1585, allocations: 0 / 0.4973 GB, free: 13.2 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001758/0.1603, allocations: 0.7632 MB / 0.498 GB, free: 12.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1603, allocations: 11.98 kB / 0.4981 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.1604, allocations: 34.56 kB / 0.4981 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.1604, allocations: 11.95 kB / 0.4981 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.1605, allocations: 125 kB / 0.4982 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1605, allocations: 0 / 0.4982 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.1605, allocations: 4 kB / 0.4982 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.1609, allocations: 125.5 kB / 0.4983 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1609, allocations: 0 / 0.4983 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1609, allocations: 0 / 0.4983 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.1609, allocations: 7.938 kB / 0.4983 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.1613, allocations: 143.8 kB / 0.4985 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000525/0.1618, allocations: 335.7 kB / 0.4988 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.1621, allocations: 98.52 kB / 0.4989 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.1623, allocations: 84.8 kB / 0.499 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009338/0.1717, allocations: 2.191 MB / 0.5011 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.1717, allocations: 38.56 kB / 0.5012 GB, free: 9.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.1717, allocations: 0 / 0.5012 GB, free: 9.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008282/0.1725, allocations: 285.4 kB / 0.5014 GB, free: 8.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.1726, allocations: 51.41 kB / 0.5015 GB, free: 8.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1727, allocations: 145.6 kB / 0.5016 GB, free: 8.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1727, allocations: 25.7 kB / 0.5016 GB, free: 8.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.1728, allocations: 88.42 kB / 0.5017 GB, free: 8.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.1729, allocations: 51.56 kB / 0.5018 GB, free: 8.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.1729, allocations: 21.72 kB / 0.5018 GB, free: 8.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1731, allocations: 322.8 kB / 0.5021 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.1733, allocations: 79.94 kB / 0.5022 GB, free: 8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.1735, allocations: 79.94 kB / 0.5023 GB, free: 7.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.1739, allocations: 169.9 kB / 0.5024 GB, free: 7.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1739, allocations: 0 / 0.5024 GB, free: 7.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004826/0.1744, allocations: 209.4 kB / 0.5026 GB, free: 7.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1744, allocations: 4 kB / 0.5026 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.1744, allocations: 4 kB / 0.5026 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1744, allocations: 0 / 0.5026 GB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1746, allocations: 23.97 kB / 0.5026 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1746, allocations: 0 / 0.5026 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.1747, allocations: 23.92 kB / 0.5027 GB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1747, allocations: 0 / 0.5027 GB, free: 7.492 MB / 382.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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001808/0.1749, allocations: 127.7 kB / 0.5028 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.1749, allocations: 15.91 kB / 0.5028 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000574/0.1755, allocations: 222.3 kB / 0.503 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.1755, allocations: 4 kB / 0.503 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1755, allocations: 0 / 0.503 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1755, allocations: 0 / 0.503 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.1758, allocations: 196.5 kB / 0.5032 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1758, allocations: 0 / 0.5032 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.176, allocations: 23.97 kB / 0.5032 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.176, allocations: 3.938 kB / 0.5032 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.176, allocations: 12 kB / 0.5032 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.176, allocations: 0 / 0.5032 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.176, allocations: 4 kB / 0.5033 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/0.1765, allocations: 303.3 kB / 0.5035 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.1766, allocations: 23.86 kB / 0.5036 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.1766, allocations: 8 kB / 0.5036 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1768, allocations: 11.98 kB / 0.5036 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.1768, allocations: 11.92 kB / 0.5036 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1768, allocations: 4 kB / 0.5036 GB, free: 6.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.668e-05/0.1769, allocations: 103.2 kB / 0.5037 GB, free: 6.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1769, allocations: 4 kB / 0.5037 GB, free: 6.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002212/0.1791, allocations: 0.7357 MB / 0.5044 GB, free: 5.621 MB / 382.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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.004573/0.1837, allocations: 1.972 MB / 0.5063 GB, free: 3.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006032/0.1843, allocations: 167.8 kB / 0.5065 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1843, allocations: 0 / 0.5065 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.1845, allocations: 87.94 kB / 0.5066 GB, free: 3.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.185, allocations: 44.27 kB / 0.5066 GB, free: 3.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.1865, allocations: 0.6319 MB / 0.5072 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.1868, allocations: 0.6992 MB / 0.5079 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.975e-05/0.1869, allocations: 11.98 kB / 0.5079 GB, free: 1.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.178e-05/0.187, allocations: 31.42 kB / 0.508 GB, free: 1.898 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.187, allocations: 0 / 0.508 GB, free: 1.898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2339/0.4209, allocations: 25.98 MB / 0.5333 GB, free: 54.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.54, allocations: 8.094 kB / 0.5334 GB, free: 54.8 MB / 398.1 MB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport_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_Transport.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.750152990993229] Failed to read output from testmodel.py, exit status != 0: 12.66715193699929 12.685481812 12.52346945 Calling exit ...