Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.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.001033/0.001033, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008052/0.0008052, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9205/0.9205, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.04771/0.04771, allocations: 7.52 MB / 266.7 MB, free: 6.195 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Ancillary_Saturation,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 3.938 kB / 391.7 MB, free: 6.363 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.357e-05, allocations: 2.281 kB / 391.7 MB, free: 6.359 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.01251/0.01253, allocations: 16.58 MB / 408.3 MB, free: 5.703 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.01546, allocations: 4.334 MB / 412.6 MB, free: 1.355 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.024e-05/0.0155, allocations: 0 / 412.6 MB, free: 1.355 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005239/0.01602, allocations: 294.5 kB / 412.9 MB, free: 1.066 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.01737, allocations: 0.7278 MB / 413.7 MB, free: 344 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.01946, allocations: 1.922 MB / 415.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.01962, allocations: 179 kB / 415.8 MB, free: 14.24 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.01966, allocations: 9.25 kB / 415.8 MB, free: 14.23 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.01989, allocations: 131.5 kB / 415.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.01997, allocations: 43.89 kB / 415.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.01998, allocations: 4 kB / 415.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.02213, allocations: 2.623 MB / 418.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.02215, allocations: 19.92 kB / 418.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.02219, allocations: 39.92 kB / 418.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.02348, allocations: 1.535 MB / 420.2 MB, free: 9.824 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.02348, allocations: 3.938 kB / 420.2 MB, free: 9.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02348, allocations: 4 kB / 420.2 MB, free: 9.816 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.02349, allocations: 0 / 420.2 MB, free: 9.816 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006221/0.02411, allocations: 0.5491 MB / 420.7 MB, free: 9.238 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.02415, allocations: 8.625 kB / 420.7 MB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.02418, allocations: 42.55 kB / 420.8 MB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.02421, allocations: 19.84 kB / 420.8 MB, free: 9.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.026e-05/0.02429, allocations: 121.1 kB / 420.9 MB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.02431, allocations: 7.938 kB / 420.9 MB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.02432, allocations: 4 kB / 420.9 MB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.02454, allocations: 202.5 kB / 421.1 MB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.02455, allocations: 3.938 kB / 421.1 MB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.02456, allocations: 4 kB / 421.1 MB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.02456, allocations: 4 kB / 421.1 MB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.02479, allocations: 279.8 kB / 421.4 MB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.02524, allocations: 0.4981 MB / 421.9 MB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.02544, allocations: 206.5 kB / 422.1 MB, free: 7.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.02556, allocations: 165 kB / 422.3 MB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001649/0.02721, allocations: 0.7944 MB / 423.1 MB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.02723, allocations: 42.5 kB / 423.1 MB, free: 6.758 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 1.372e-06/0.02723, allocations: 0 / 423.1 MB, free: 6.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.0005383/0.02777, allocations: 0.5994 MB / 423.7 MB, free: 6.152 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.0278, allocations: 51.41 kB / 423.7 MB, free: 6.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.73e-05/0.02785, allocations: 101.9 kB / 423.8 MB, free: 5.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.02787, allocations: 29.7 kB / 423.9 MB, free: 5.945 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.0279, allocations: 88.78 kB / 424 MB, free: 5.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.02796, allocations: 126.8 kB / 424.1 MB, free: 5.727 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.02799, allocations: 37.7 kB / 424.1 MB, free: 5.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.02807, allocations: 322.8 kB / 424.4 MB, free: 5.359 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.02819, allocations: 147.9 kB / 424.6 MB, free: 5.215 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.02831, allocations: 151.9 kB / 424.7 MB, free: 5.066 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.02856, allocations: 347 kB / 425.1 MB, free: 4.727 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.02856, allocations: 0 / 425.1 MB, free: 4.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000307/0.02887, allocations: 394.4 kB / 425.5 MB, free: 4.336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.02888, allocations: 4 kB / 425.5 MB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.02889, allocations: 0 / 425.5 MB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.0289, allocations: 3.938 kB / 425.5 MB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.37e-05/0.02897, allocations: 27.92 kB / 425.5 MB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.02898, allocations: 0 / 425.5 MB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.053e-05/0.02902, allocations: 23.88 kB / 425.5 MB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.02903, allocations: 4 kB / 425.5 MB, free: 4.273 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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 6.073e-05/0.02909, allocations: 117.8 kB / 425.6 MB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.02911, allocations: 11.91 kB / 425.6 MB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.02948, allocations: 431 kB / 426.1 MB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.02949, allocations: 11.94 kB / 426.1 MB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.0295, allocations: 4.234 kB / 426.1 MB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.0295, allocations: 3.938 kB / 426.1 MB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.02968, allocations: 261.8 kB / 426.3 MB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.02968, allocations: 7.984 kB / 426.3 MB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.267e-05/0.02973, allocations: 23.98 kB / 426.4 MB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.02973, allocations: 4 kB / 426.4 MB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.02974, allocations: 4 kB / 426.4 MB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.02974, allocations: 3.938 kB / 426.4 MB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02974, allocations: 0 / 426.4 MB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.03007, allocations: 488.3 kB / 426.9 MB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.03011, allocations: 43.69 kB / 426.9 MB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.03012, allocations: 0 / 426.9 MB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.138e-05/0.03017, allocations: 15.92 kB / 426.9 MB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.03021, allocations: 11.98 kB / 426.9 MB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.03021, allocations: 4 kB / 426.9 MB, free: 2.781 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.949e-05/0.03024, allocations: 87.27 kB / 427 MB, free: 2.695 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03024, allocations: 0 / 427 MB, free: 2.695 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005012/0.03074, allocations: 422.6 kB / 427.4 MB, free: 2.281 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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.001372/0.03212, allocations: 1.61 MB / 429 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.03243, allocations: 339.8 kB / 429.4 MB, free: 320 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.03243, allocations: 0 / 429.4 MB, free: 320 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.03256, allocations: 163.9 kB / 429.5 MB, free: 156 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.03289, allocations: 71.8 kB / 429.6 MB, free: 84 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/0.03355, allocations: 0.5608 MB / 430.2 MB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.767e-05/0.03361, allocations: 102.3 kB / 430.3 MB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.911e-05/0.03366, allocations: 19.36 kB / 430.3 MB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.03371, allocations: 40.48 kB / 430.3 MB, free: 15.31 MB / 410.7 MB Notification: Performance of SimCode: time 4.8e-07/0.03371, allocations: 4 kB / 430.3 MB, free: 15.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02334/0.05706, allocations: 14.39 MB / 444.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.059, allocations: 13.38 kB / 444.7 MB, free: 1.074 MB / 410.7 MB " [Timeout remaining time 653] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation_res.csv --start-time 0 --stop-time 7 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0028 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.356388193555176] Failed to read output from testmodel.py, exit status != 0: 7.310421238653362 7.318589813 7.293399184 Calling exit ...