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.001849/0.001849, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002565/0.002565, allocations: 208 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.07689/0.07689, allocations: 9.135 MB / 321.6 MB, free: 10.22 MB / 254.1 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 0.00213/0.00213, allocations: 71.89 kB / 446.5 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1058, allocations: 54.93 MB / 0.4897 GB, free: 9.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02213/0.1279, allocations: 16.6 MB / 0.5059 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005432/0.1334, allocations: 4.327 MB / 0.5101 GB, free: 4.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1335, allocations: 0 / 0.5101 GB, free: 4.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009478/0.1344, allocations: 298.5 kB / 0.5104 GB, free: 4.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.1363, allocations: 0.7311 MB / 0.5111 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004775/0.1411, allocations: 1.874 MB / 0.513 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.1414, allocations: 175.1 kB / 0.5131 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.474e-05/0.1414, allocations: 13.28 kB / 0.5131 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.1417, allocations: 95.52 kB / 0.5132 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.1418, allocations: 55.7 kB / 0.5133 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1418, allocations: 8 kB / 0.5133 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2094/0.3512, allocations: 2.591 MB / 0.5158 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.3512, allocations: 18.66 kB / 0.5158 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3513, allocations: 46.58 kB / 0.5159 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002742/0.3541, allocations: 1.305 MB / 0.5172 GB, free: 9.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3541, allocations: 0.9688 kB / 0.5172 GB, free: 9.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3541, allocations: 3.844 kB / 0.5172 GB, free: 9.898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3541, allocations: 0.625 kB / 0.5172 GB, free: 9.898 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009992/0.3551, allocations: 0.5425 MB / 0.5177 GB, free: 9.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3551, allocations: 11.19 kB / 0.5177 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.3551, allocations: 42.48 kB / 0.5177 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.3552, allocations: 14.88 kB / 0.5178 GB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.451e-05/0.3553, allocations: 123.2 kB / 0.5179 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.3553, allocations: 9.75 kB / 0.5179 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.3553, allocations: 6.297 kB / 0.5179 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.3556, allocations: 205.7 kB / 0.5181 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3556, allocations: 2.375 kB / 0.5181 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3557, allocations: 1.438 kB / 0.5181 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.3557, allocations: 9.656 kB / 0.5181 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005441/0.3562, allocations: 286.2 kB / 0.5184 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.3568, allocations: 0.4887 MB / 0.5189 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.3571, allocations: 211.5 kB / 0.5191 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.3573, allocations: 161 kB / 0.5192 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003469/0.3608, allocations: 0.8028 MB / 0.52 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.3608, allocations: 40.33 kB / 0.52 GB, free: 8.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.874e-06/0.3608, allocations: 0 / 0.52 GB, free: 8.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0008478/0.3617, allocations: 0.5924 MB / 0.5206 GB, free: 8.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.3617, allocations: 54.88 kB / 0.5207 GB, free: 8.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.16e-05/0.3618, allocations: 103.7 kB / 0.5208 GB, free: 8.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3618, allocations: 31.77 kB / 0.5208 GB, free: 8.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.3618, allocations: 84.75 kB / 0.5209 GB, free: 8.586 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.3619, allocations: 124.5 kB / 0.521 GB, free: 8.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.362, allocations: 38.98 kB / 0.521 GB, free: 8.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.063e-05/0.362, allocations: 322.6 kB / 0.5213 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.3622, allocations: 155.4 kB / 0.5215 GB, free: 8.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.3624, allocations: 152.8 kB / 0.5216 GB, free: 8.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/0.3628, allocations: 336.5 kB / 0.5219 GB, free: 8.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3628, allocations: 4.547 kB / 0.522 GB, free: 8.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004907/0.3633, allocations: 387 kB / 0.5223 GB, free: 8.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3633, allocations: 12.06 kB / 0.5223 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3634, allocations: 0 / 0.5223 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3634, allocations: 1.859 kB / 0.5223 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.3636, allocations: 28.98 kB / 0.5224 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3636, allocations: 1.469 kB / 0.5224 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.371e-05/0.3637, allocations: 20.58 kB / 0.5224 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.3637, allocations: 8.828 kB / 0.5224 GB, free: 8.094 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: 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.538e-05/0.3637, allocations: 123 kB / 0.5225 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.3638, allocations: 20.05 kB / 0.5225 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006068/0.3644, allocations: 424.1 kB / 0.5229 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.3644, allocations: 9.562 kB / 0.5229 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3644, allocations: 0 / 0.5229 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.3644, allocations: 2.938 kB / 0.5229 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.3646, allocations: 254.8 kB / 0.5232 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3646, allocations: 8.469 kB / 0.5232 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.3647, allocations: 26.25 kB / 0.5232 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3647, allocations: 3.938 kB / 0.5232 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3648, allocations: 7.547 kB / 0.5232 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3648, allocations: 4.844 kB / 0.5232 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3648, allocations: 0 / 0.5232 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/0.3653, allocations: 496.6 kB / 0.5237 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.3653, allocations: 36.16 kB / 0.5237 GB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.3654, allocations: 7.312 kB / 0.5238 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.441e-05/0.3654, allocations: 12.58 kB / 0.5238 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.3655, allocations: 8.969 kB / 0.5238 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.3655, allocations: 6.266 kB / 0.5238 GB, free: 7.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.087e-05/0.3655, allocations: 85.42 kB / 0.5239 GB, free: 7.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3655, allocations: 0 / 0.5239 GB, free: 7.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001164/0.3667, allocations: 426.1 kB / 0.5243 GB, free: 7.422 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: 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.002139/0.3688, allocations: 1.564 MB / 0.5258 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00052/0.3694, allocations: 341.5 kB / 0.5261 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.3694, allocations: 0 / 0.5261 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.3696, allocations: 174 kB / 0.5263 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.3701, allocations: 70.94 kB / 0.5264 GB, free: 6.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009583/0.371, allocations: 0.5707 MB / 0.5269 GB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.2e-05/0.3711, allocations: 101.7 kB / 0.527 GB, free: 6.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.538e-05/0.3712, allocations: 24.45 kB / 0.527 GB, free: 6.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.3713, allocations: 40.14 kB / 0.5271 GB, free: 6.27 MB / 382.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3713, allocations: 0.9688 kB / 0.5271 GB, free: 6.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04369/0.4149, allocations: 14.3 MB / 0.541 GB, free: 2.105 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.51, allocations: 6.766 kB / 0.541 GB, free: 2.102 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.279238955117762] Failed to read output from testmodel.py, exit status != 0: 11.61409076768905 11.627798151 11.27046654 Calling exit ...