Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Convergence.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.001139/0.001139, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001344/0.001344, allocations: 212.7 kB / 22.25 MB, free: 3.57 MB / 13.93 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.074/1.074, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.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.04983/0.04983, allocations: 14.03 MB / 326.5 MB, free: 4.695 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.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.Validation.Convergence.Ancillary_Saturation,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Convergence_Ancillary_Saturation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Validation.Convergence.Ancillary_Saturation,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Convergence_Ancillary_Saturation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 66.86 kB / 453.4 MB, free: 33.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1119, allocations: 55.97 MB / 0.4975 GB, free: 9.707 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Convergence.Ancillary_Saturation): time 0.04043/0.1523, allocations: 53.06 MB / 0.5493 GB, free: 4.449 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002887/0.1552, allocations: 3.742 MB / 0.5529 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.476e-05/0.1553, allocations: 0 / 0.5529 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.1566, allocations: 431.5 kB / 0.5533 GB, free: 280 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3156/0.4723, allocations: 0.8895 MB / 0.5542 GB, free: 5.121 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004012/0.4763, allocations: 1.709 MB / 0.5559 GB, free: 5.109 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.4766, allocations: 180.7 kB / 0.5561 GB, free: 5.105 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/0.4767, allocations: 7.312 kB / 0.5561 GB, free: 5.105 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.4769, allocations: 101.4 kB / 0.5562 GB, free: 5.105 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.477, allocations: 55.2 kB / 0.5562 GB, free: 5.105 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.4771, allocations: 3.469 kB / 0.5562 GB, free: 5.105 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005834/0.4829, allocations: 2.844 MB / 0.559 GB, free: 5.102 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.4829, allocations: 18.11 kB / 0.559 GB, free: 5.102 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.4831, allocations: 47.95 kB / 0.5591 GB, free: 5.102 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003586/0.4867, allocations: 1.374 MB / 0.5604 GB, free: 5.043 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4867, allocations: 0 / 0.5604 GB, free: 5.043 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.4867, allocations: 2.625 kB / 0.5604 GB, free: 5.043 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.4867, allocations: 0 / 0.5604 GB, free: 5.043 MB / 410.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.001257/0.488, allocations: 0.5894 MB / 0.561 GB, free: 4.613 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.488, allocations: 9.719 kB / 0.561 GB, free: 4.613 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/0.4881, allocations: 46.58 kB / 0.561 GB, free: 4.574 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.4881, allocations: 14.78 kB / 0.561 GB, free: 4.566 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.551e-05/0.4882, allocations: 114.2 kB / 0.5611 GB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.4882, allocations: 11.56 kB / 0.5612 GB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.4882, allocations: 3.844 kB / 0.5612 GB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.4885, allocations: 202.6 kB / 0.5614 GB, free: 4.406 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4885, allocations: 1.938 kB / 0.5614 GB, free: 4.406 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4886, allocations: 4 kB / 0.5614 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.4886, allocations: 10.92 kB / 0.5614 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.4889, allocations: 280.7 kB / 0.5616 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.4895, allocations: 0.4913 MB / 0.5621 GB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.4898, allocations: 210.1 kB / 0.5623 GB, free: 4.133 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.4899, allocations: 163.2 kB / 0.5625 GB, free: 4.125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/0.4913, allocations: 0.5869 MB / 0.5631 GB, free: 4.109 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.4914, allocations: 34.84 kB / 0.5631 GB, free: 4.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.703e-06/0.4914, allocations: 2.812 kB / 0.5631 GB, free: 4.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.001021/0.4924, allocations: 0.5902 MB / 0.5637 GB, free: 3.977 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.4924, allocations: 60.25 kB / 0.5637 GB, free: 3.914 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/0.4925, allocations: 103.2 kB / 0.5638 GB, free: 3.816 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.4925, allocations: 32.45 kB / 0.5638 GB, free: 3.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.4926, allocations: 86.31 kB / 0.5639 GB, free: 3.695 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/0.4926, allocations: 125.5 kB / 0.5641 GB, free: 3.609 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.4927, allocations: 39.94 kB / 0.5641 GB, free: 3.594 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.4927, allocations: 324.3 kB / 0.5644 GB, free: 3.281 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.4929, allocations: 150.8 kB / 0.5645 GB, free: 3.281 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.4931, allocations: 154.5 kB / 0.5647 GB, free: 3.281 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.4934, allocations: 344.3 kB / 0.565 GB, free: 3.262 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4934, allocations: 0 / 0.565 GB, free: 3.262 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004197/0.4938, allocations: 385.1 kB / 0.5654 GB, free: 3.219 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.4939, allocations: 5.766 kB / 0.5654 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.4939, allocations: 1.219 kB / 0.5654 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.4939, allocations: 0 / 0.5654 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.494, allocations: 29.98 kB / 0.5654 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.494, allocations: 2.625 kB / 0.5654 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/0.4941, allocations: 21.59 kB / 0.5654 GB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.4941, allocations: 3.875 kB / 0.5654 GB, free: 3.207 MB / 410.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 7.606e-05/0.4942, allocations: 124.9 kB / 0.5656 GB, free: 3.094 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.4942, allocations: 14.36 kB / 0.5656 GB, free: 3.086 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005624/0.4948, allocations: 434.7 kB / 0.566 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.4948, allocations: 6.172 kB / 0.566 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.4948, allocations: 2.75 kB / 0.566 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.4948, allocations: 0 / 0.566 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.495, allocations: 265.1 kB / 0.5663 GB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.495, allocations: 1.312 kB / 0.5663 GB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.637e-05/0.4951, allocations: 26.56 kB / 0.5663 GB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4951, allocations: 8.938 kB / 0.5663 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.4951, allocations: 6.297 kB / 0.5663 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4951, allocations: 0.6875 kB / 0.5663 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4951, allocations: 0 / 0.5663 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006045/0.4957, allocations: 493.1 kB / 0.5668 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.4958, allocations: 38.27 kB / 0.5668 GB, free: 2.707 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.4958, allocations: 10.69 kB / 0.5668 GB, free: 2.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.958e-05/0.4959, allocations: 9 kB / 0.5668 GB, free: 2.699 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.4959, allocations: 11.3 kB / 0.5668 GB, free: 2.699 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.4959, allocations: 6 kB / 0.5668 GB, free: 2.699 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.018e-05/0.4959, allocations: 82.88 kB / 0.5669 GB, free: 2.625 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4959, allocations: 0 / 0.5669 GB, free: 2.625 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00224/0.4982, allocations: 0.5079 MB / 0.5674 GB, free: 2.543 MB / 410.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.002766/0.501, allocations: 1.652 MB / 0.569 GB, free: 1.766 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005383/0.5015, allocations: 342.2 kB / 0.5694 GB, free: 1.766 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5015, allocations: 0 / 0.5694 GB, free: 1.766 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.5017, allocations: 168.6 kB / 0.5695 GB, free: 1.762 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.5021, allocations: 75.56 kB / 0.5696 GB, free: 1.754 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.5034, allocations: 0.5984 MB / 0.5702 GB, free: 1.477 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.218e-05/0.5035, allocations: 94.12 kB / 0.5703 GB, free: 1.406 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.018e-05/0.5036, allocations: 27.22 kB / 0.5703 GB, free: 1.402 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.5036, allocations: 36.5 kB / 0.5703 GB, free: 1.395 MB / 410.7 MB Notification: Performance of SimCode: time 2.455e-06/0.5036, allocations: 3.062 kB / 0.5703 GB, free: 1.395 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0979/0.6015, allocations: 13.26 MB / 0.5833 GB, free: 12.97 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/8.33, allocations: 5.688 kB / 0.5833 GB, free: 12.97 MB / 426.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.Ancillary_Saturation.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Convergence.Ancillary_Saturation.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Convergence.Ancillary_Saturation.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Convergence.Ancillary_Saturation.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Validation_Convergence_Ancillary_Saturation_fmu --startTime=0 --stopTime=7 --stepSize=0.0028 --timeout=50 --tolerance=1e-05 ../HelmholtzMedia_HelmholtzMedia_Validation_Convergence_Ancillary_Saturation.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Convergence.Ancillary_Saturation.pipe 2>&1) [Timeout 52.5] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Convergence.Ancillary_Saturation_fmpy.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Convergence.Ancillary_Saturation_fmpy.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Convergence.Ancillary_Saturation_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Convergence.Ancillary_Saturation_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../HelmholtzMedia_HelmholtzMedia.Validation.Convergence.Ancillary_Saturation_fmpy_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_Validation_Convergence_Ancillary_Saturation.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Convergence.Ancillary_Saturation_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.127772323787212]