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.001308/0.001308, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001502/0.001502, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.484/1.484, 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.1042/0.1042, allocations: 9.149 MB / 294.4 MB, free: 12.7 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.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: 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.002319/0.002319, allocations: 71.58 kB / 411.1 MB, free: 46.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08373/0.08605, allocations: 50.76 MB / 461.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02466/0.1107, allocations: 18.34 MB / 480.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006326/0.117, allocations: 4.91 MB / 485.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.1172, allocations: 4 kB / 485.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.1183, allocations: 350.4 kB / 485.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.1204, allocations: 0.7475 MB / 486.2 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005703/0.1261, allocations: 1.916 MB / 488.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.1264, allocations: 175.1 kB / 488.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/0.1265, allocations: 9.312 kB / 488.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.1268, allocations: 103.4 kB / 488.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.1269, allocations: 47.78 kB / 488.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1269, allocations: 4 kB / 488.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006957/0.1339, allocations: 3.622 MB / 492 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.1339, allocations: 15.88 kB / 492 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.134, allocations: 55.73 kB / 492.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003521/0.1375, allocations: 1.469 MB / 493.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1376, allocations: 0 / 493.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1376, allocations: 4 kB / 493.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1376, allocations: 0 / 493.6 MB, free: 12.86 MB / 366.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.001222/0.1388, allocations: 0.5427 MB / 494.1 MB, free: 12.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.1388, allocations: 11.98 kB / 494.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.81e-05/0.1389, allocations: 50.55 kB / 494.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.1389, allocations: 15.84 kB / 494.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1391, allocations: 121.1 kB / 494.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1391, allocations: 4 kB / 494.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.1391, allocations: 7.938 kB / 494.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.1395, allocations: 205.5 kB / 494.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1395, allocations: 0 / 494.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.1395, allocations: 0 / 494.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.1395, allocations: 11.98 kB / 494.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/0.14, allocations: 291.8 kB / 494.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007203/0.1407, allocations: 490.4 kB / 495.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.141, allocations: 218.4 kB / 495.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.1412, allocations: 165 kB / 495.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003599/0.1448, allocations: 0.7942 MB / 496.5 MB, free: 9.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.1449, allocations: 38.5 kB / 496.5 MB, free: 9.785 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.425e-06/0.1449, allocations: 4 kB / 496.5 MB, free: 9.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.0008929/0.1458, allocations: 0.5913 MB / 497.1 MB, free: 9.184 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.1458, allocations: 51.41 kB / 497.2 MB, free: 9.121 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.214e-05/0.1459, allocations: 105.8 kB / 497.3 MB, free: 9.008 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1459, allocations: 33.7 kB / 497.3 MB, free: 8.969 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.146, allocations: 84.73 kB / 497.4 MB, free: 8.883 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.1461, allocations: 130.8 kB / 497.5 MB, free: 8.754 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.1461, allocations: 37.7 kB / 497.5 MB, free: 8.711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1463, allocations: 322.8 kB / 497.8 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.1465, allocations: 147.9 kB / 498 MB, free: 8.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.1467, allocations: 156.8 kB / 498.1 MB, free: 8.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.1472, allocations: 350.1 kB / 498.5 MB, free: 7.746 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1472, allocations: 0 / 498.5 MB, free: 7.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000565/0.1477, allocations: 378.6 kB / 498.9 MB, free: 7.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1477, allocations: 10.44 kB / 498.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1478, allocations: 0 / 498.9 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1478, allocations: 4 kB / 498.9 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.1479, allocations: 27.98 kB / 498.9 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1479, allocations: 0 / 498.9 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.201e-05/0.148, allocations: 23.88 kB / 498.9 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.148, allocations: 4 kB / 498.9 MB, free: 7.301 MB / 366.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 0.0001027/0.1481, allocations: 117.8 kB / 499 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.1482, allocations: 20.09 kB / 499.1 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006674/0.1488, allocations: 445.6 kB / 499.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.1488, allocations: 3.984 kB / 499.5 MB, free: 6.719 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.1488, allocations: 4 kB / 499.5 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1488, allocations: 0 / 499.5 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/0.1492, allocations: 261.9 kB / 499.8 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1492, allocations: 0 / 499.8 MB, free: 6.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.1493, allocations: 31.92 kB / 499.8 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.1493, allocations: 11.92 kB / 499.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1493, allocations: 0 / 499.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1493, allocations: 0 / 499.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1493, allocations: 3.984 kB / 499.8 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006035/0.1499, allocations: 496.5 kB / 0.4886 GB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.15, allocations: 31.7 kB / 0.4886 GB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.15, allocations: 8 kB / 0.4886 GB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/0.1501, allocations: 7.984 kB / 0.4886 GB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1501, allocations: 7.984 kB / 0.4886 GB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1501, allocations: 11.92 kB / 0.4886 GB, free: 5.801 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.933e-05/0.1502, allocations: 83.28 kB / 0.4887 GB, free: 5.719 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1502, allocations: 7.938 kB / 0.4887 GB, free: 5.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001101/0.1513, allocations: 430.6 kB / 0.4891 GB, free: 5.289 MB / 366.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.002783/0.1541, allocations: 1.559 MB / 0.4907 GB, free: 3.699 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005659/0.1546, allocations: 331.7 kB / 0.491 GB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1546, allocations: 0 / 0.491 GB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.1549, allocations: 175.9 kB / 0.4911 GB, free: 3.203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005748/0.1555, allocations: 79.47 kB / 0.4912 GB, free: 3.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.1567, allocations: 0.5649 MB / 0.4918 GB, free: 2.516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.1571, allocations: 0.7165 MB / 0.4925 GB, free: 1.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.735e-05/0.1572, allocations: 20.17 kB / 0.4925 GB, free: 1.754 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.1573, allocations: 35.42 kB / 0.4925 GB, free: 1.723 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1573, allocations: 0 / 0.4925 GB, free: 1.723 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04847/0.2057, allocations: 13.78 MB / 0.506 GB, free: 3.957 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.77, allocations: 14.92 kB / 0.506 GB, free: 3.945 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 & /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.934581555891782] Failed to read output from testmodel.py, exit status != 0: 11.88420726894401 11.91428233 11.771330102 Calling exit ...