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.001288/0.001288, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001456/0.001456, allocations: 215.2 kB / 22.24 MB, free: 4.855 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 7.809 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.0905/0.0905, allocations: 9.14 MB / 321.6 MB, free: 10.25 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.002118/0.002118, allocations: 63.91 kB / 446.5 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1056, allocations: 54.94 MB / 0.4897 GB, free: 9.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02101/0.1266, allocations: 16.6 MB / 0.5059 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004847/0.1315, allocations: 4.335 MB / 0.5101 GB, free: 4.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.1315, allocations: 4 kB / 0.5101 GB, free: 4.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008475/0.1324, allocations: 286.5 kB / 0.5104 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.1342, allocations: 0.7384 MB / 0.5111 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004875/0.1391, allocations: 1.883 MB / 0.513 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.1394, allocations: 179 kB / 0.5131 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.498e-05/0.1394, allocations: 9.297 kB / 0.5132 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.1397, allocations: 95.45 kB / 0.5132 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1398, allocations: 51.77 kB / 0.5133 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1399, allocations: 4 kB / 0.5133 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2112/0.351, allocations: 2.594 MB / 0.5158 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.297e-05/0.3511, allocations: 20.05 kB / 0.5158 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.95e-05/0.3512, allocations: 46.47 kB / 0.5159 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.3532, allocations: 1.3 MB / 0.5172 GB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3532, allocations: 3 kB / 0.5172 GB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3532, allocations: 0 / 0.5172 GB, free: 10.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.3532, allocations: 3.891 kB / 0.5172 GB, free: 10.05 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.0008012/0.354, allocations: 0.5412 MB / 0.5177 GB, free: 9.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3541, allocations: 13.02 kB / 0.5177 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.7e-05/0.3541, allocations: 44.58 kB / 0.5178 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.3541, allocations: 16.7 kB / 0.5178 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.377e-05/0.3542, allocations: 122.8 kB / 0.5179 GB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3542, allocations: 7.312 kB / 0.5179 GB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.3542, allocations: 6.688 kB / 0.5179 GB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.3545, allocations: 208 kB / 0.5181 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.3545, allocations: 0 / 0.5181 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3545, allocations: 1.562 kB / 0.5181 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3545, allocations: 7.078 kB / 0.5181 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.3549, allocations: 280 kB / 0.5184 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.3554, allocations: 0.4933 MB / 0.5189 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.3557, allocations: 208.1 kB / 0.5191 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.3559, allocations: 161.6 kB / 0.5192 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003078/0.3589, allocations: 0.8049 MB / 0.52 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.359, allocations: 36.59 kB / 0.52 GB, free: 9.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.342e-06/0.359, allocations: 1.406 kB / 0.52 GB, free: 9.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006901/0.3597, allocations: 0.5943 MB / 0.5206 GB, free: 9.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.3597, allocations: 51.41 kB / 0.5207 GB, free: 8.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.717e-05/0.3597, allocations: 104.7 kB / 0.5208 GB, free: 8.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.3597, allocations: 33.27 kB / 0.5208 GB, free: 8.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.18e-05/0.3598, allocations: 89.2 kB / 0.5209 GB, free: 8.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.3598, allocations: 120.6 kB / 0.521 GB, free: 8.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.3599, allocations: 38.67 kB / 0.521 GB, free: 8.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.3599, allocations: 326 kB / 0.5213 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.3601, allocations: 155.6 kB / 0.5215 GB, free: 8.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.3603, allocations: 153 kB / 0.5216 GB, free: 8.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.3606, allocations: 340.2 kB / 0.522 GB, free: 8.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3606, allocations: 0 / 0.522 GB, free: 8.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004316/0.3611, allocations: 388.3 kB / 0.5223 GB, free: 8.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3611, allocations: 9.031 kB / 0.5223 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3611, allocations: 3.375 kB / 0.5223 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3611, allocations: 2.656 kB / 0.5223 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3612, allocations: 35.19 kB / 0.5224 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3612, allocations: 1 kB / 0.5224 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.3613, allocations: 22.19 kB / 0.5224 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.3613, allocations: 6.469 kB / 0.5224 GB, free: 8.25 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 5.365e-05/0.3614, allocations: 118 kB / 0.5225 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.3614, allocations: 13.67 kB / 0.5225 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005685/0.362, allocations: 430 kB / 0.5229 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.362, allocations: 9.531 kB / 0.5229 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.362, allocations: 0.875 kB / 0.5229 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.362, allocations: 2.484 kB / 0.523 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.3622, allocations: 258 kB / 0.5232 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3622, allocations: 1.062 kB / 0.5232 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.997e-05/0.3623, allocations: 28.58 kB / 0.5232 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3623, allocations: 5.625 kB / 0.5232 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3623, allocations: 8.016 kB / 0.5232 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3623, allocations: 1.156 kB / 0.5232 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3623, allocations: 0 / 0.5232 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.3628, allocations: 494.5 kB / 0.5237 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.3628, allocations: 32.91 kB / 0.5237 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.3629, allocations: 13.08 kB / 0.5238 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.363, allocations: 10.03 kB / 0.5238 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.363, allocations: 9.188 kB / 0.5238 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.363, allocations: 3.312 kB / 0.5238 GB, free: 7.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.459e-05/0.363, allocations: 89.23 kB / 0.5239 GB, free: 7.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.363, allocations: 1.5 kB / 0.5239 GB, free: 7.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009219/0.364, allocations: 423.8 kB / 0.5243 GB, free: 7.578 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.001873/0.3658, allocations: 1.563 MB / 0.5258 GB, free: 6.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000467/0.3663, allocations: 344.9 kB / 0.5261 GB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3663, allocations: 0 / 0.5261 GB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.3665, allocations: 174.3 kB / 0.5263 GB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.367, allocations: 65.92 kB / 0.5264 GB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008278/0.3678, allocations: 0.5709 MB / 0.5269 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.626e-05/0.3679, allocations: 101.8 kB / 0.527 GB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.733e-05/0.368, allocations: 24.5 kB / 0.527 GB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/0.368, allocations: 37.52 kB / 0.5271 GB, free: 6.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.368, allocations: 0 / 0.5271 GB, free: 6.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04581/0.4138, allocations: 14.3 MB / 0.541 GB, free: 2.273 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.29, allocations: 9.594 kB / 0.541 GB, free: 2.27 MB / 382.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation_fmu --startTime=0 --stopTime=7 --stepSize=0.0028 --timeout=50 --tolerance=1e-05 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.079720676410943] Failed to read output from testmodel.py, exit status != 0: 11.39542776811868 11.409117804 11.052607933 Calling exit ...