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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.529/1.529, allocations: 207.6 MB / 229.8 MB, free: 11.42 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.1755/0.1755, allocations: 9.147 MB / 290.8 MB, free: 13.93 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 79.2 kB / 405.8 MB, free: 47.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07197/0.07408, allocations: 50.71 MB / 456.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02342/0.0975, allocations: 18.28 MB / 474.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005165/0.1027, allocations: 4.918 MB / 479.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.426e-05/0.1027, allocations: 0 / 479.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009036/0.1036, allocations: 358.4 kB / 480.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.1055, allocations: 0.7164 MB / 480.8 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004357/0.1098, allocations: 1.916 MB / 482.7 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.1101, allocations: 167.1 kB / 482.9 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.1101, allocations: 9.125 kB / 482.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.1103, allocations: 103.4 kB / 483 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.068e-05/0.1104, allocations: 51.73 kB / 483 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1104, allocations: 4 kB / 483 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005484/0.1159, allocations: 3.474 MB / 486.5 MB, free: 144 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.116, allocations: 19.86 kB / 486.5 MB, free: 124 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.584e-05/0.116, allocations: 51.73 kB / 486.6 MB, free: 72 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002627/0.1187, allocations: 1.465 MB / 488.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1187, allocations: 0 / 488.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1187, allocations: 0 / 488.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.1187, allocations: 0 / 488.1 MB, free: 14.6 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.001017/0.1197, allocations: 0.618 MB / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1197, allocations: 8.031 kB / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.242e-05/0.1198, allocations: 46.55 kB / 488.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.1198, allocations: 15.84 kB / 488.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.12, allocations: 174.9 kB / 488.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.12, allocations: 12 kB / 488.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.12, allocations: 7.984 kB / 488.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.1204, allocations: 197.5 kB / 489.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1204, allocations: 0 / 489.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1204, allocations: 0 / 489.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1204, allocations: 8 kB / 489.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.1208, allocations: 283.7 kB / 489.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006929/0.1215, allocations: 0.5067 MB / 489.9 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.1218, allocations: 198.4 kB / 490.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.122, allocations: 161 kB / 490.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00712/0.1292, allocations: 7.212 MB / 497.5 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.1292, allocations: 42.48 kB / 497.5 MB, free: 3.371 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.663e-06/0.1292, allocations: 0 / 497.5 MB, free: 3.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.0008935/0.1301, allocations: 0.5661 MB / 498.1 MB, free: 2.797 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1301, allocations: 59.34 kB / 498.1 MB, free: 2.727 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.599e-05/0.1302, allocations: 109.8 kB / 498.2 MB, free: 2.609 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1302, allocations: 25.7 kB / 498.3 MB, free: 2.578 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.1303, allocations: 84.8 kB / 498.4 MB, free: 2.492 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.59e-05/0.1304, allocations: 126.8 kB / 498.5 MB, free: 2.367 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.1304, allocations: 37.69 kB / 498.5 MB, free: 2.324 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1306, allocations: 326.8 kB / 498.8 MB, free: 1.996 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.1308, allocations: 143.9 kB / 499 MB, free: 1.855 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.131, allocations: 147.8 kB / 499.1 MB, free: 1.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.1314, allocations: 321.9 kB / 499.4 MB, free: 1.395 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1314, allocations: 0 / 499.4 MB, free: 1.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000535/0.1319, allocations: 382.5 kB / 499.8 MB, free: 1.016 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.132, allocations: 7.938 kB / 499.8 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.132, allocations: 0 / 499.8 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.132, allocations: 0 / 499.8 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.1321, allocations: 27.97 kB / 499.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1321, allocations: 4 kB / 499.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.1322, allocations: 19.88 kB / 499.9 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1322, allocations: 8 kB / 499.9 MB, free: 0.9492 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 9.936e-05/0.1323, allocations: 113.8 kB / 500 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.1324, allocations: 15.84 kB / 0.4883 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006669/0.133, allocations: 423.8 kB / 0.4887 GB, free: 408 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.133, allocations: 4 kB / 0.4887 GB, free: 404 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1331, allocations: 0 / 0.4887 GB, free: 404 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1331, allocations: 7.984 kB / 0.4887 GB, free: 396 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.1334, allocations: 286.6 kB / 0.489 GB, free: 56 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1334, allocations: 0 / 0.489 GB, free: 56 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.1335, allocations: 27.97 kB / 0.489 GB, free: 28 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1335, allocations: 3.938 kB / 0.489 GB, free: 24 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1335, allocations: 8 kB / 0.489 GB, free: 16 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1335, allocations: 0 / 0.489 GB, free: 16 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1335, allocations: 4.188 kB / 0.489 GB, free: 12 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000603/0.1341, allocations: 476.2 kB / 0.4895 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-05/0.1342, allocations: 120.8 kB / 0.4896 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1342, allocations: 4 kB / 0.4896 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.1343, allocations: 11.98 kB / 0.4896 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.1343, allocations: 7.984 kB / 0.4896 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.1343, allocations: 7.938 kB / 0.4896 GB, free: 15.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.343e-05/0.1344, allocations: 83.28 kB / 0.4897 GB, free: 15.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1344, allocations: 4 kB / 0.4897 GB, free: 15.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009854/0.1354, allocations: 426.6 kB / 0.4901 GB, free: 14.86 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.002184/0.1376, allocations: 1.554 MB / 0.4916 GB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005384/0.1381, allocations: 332.7 kB / 0.4919 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1381, allocations: 0 / 0.4919 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.1383, allocations: 155.9 kB / 0.4921 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.1388, allocations: 67.91 kB / 0.4922 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009662/0.1398, allocations: 0.5655 MB / 0.4927 GB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.1402, allocations: 0.7203 MB / 0.4934 GB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.932e-05/0.1402, allocations: 20.25 kB / 0.4934 GB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.1403, allocations: 43.36 kB / 0.4935 GB, free: 11.33 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1403, allocations: 0 / 0.4935 GB, free: 11.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04021/0.1805, allocations: 13.5 MB / 0.5067 GB, free: 13.87 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.533/8.713, allocations: 3.719 kB / 0.5067 GB, free: 13.87 MB / 398.1 MB " [Timeout remaining time 651] (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: 11.947737119160593] Failed to read output from testmodel.py, exit status != 0: 8.811036590952426 8.841862992 8.717115325 Calling exit ...