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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.08596/0.08596, allocations: 9.089 MB / 278.9 MB, free: 12.2 MB / 238.1 MB 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.001482/0.001483, allocations: 71.91 kB / 338.1 MB, free: 25.37 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08584/0.08733, allocations: 48.16 MB / 386.3 MB, free: 9.168 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.01969/0.1071, allocations: 18.24 MB / 404.5 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004571/0.1117, allocations: 4.891 MB / 409.4 MB, free: 1.941 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.484e-05/0.1118, allocations: 0 / 409.4 MB, free: 1.941 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009994/0.1129, allocations: 322.4 kB / 409.7 MB, free: 1.625 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.1148, allocations: 0.7046 MB / 410.4 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005234/0.12, allocations: 1.795 MB / 412.2 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.1204, allocations: 187.1 kB / 412.4 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.937e-05/0.1205, allocations: 9.109 kB / 412.4 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.1207, allocations: 87.53 kB / 412.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.981e-05/0.1208, allocations: 59.7 kB / 412.6 MB, free: 14.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1208, allocations: 4 kB / 412.6 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004689/0.1255, allocations: 3.259 MB / 415.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.1256, allocations: 15.92 kB / 415.8 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.25e-05/0.1257, allocations: 55.67 kB / 415.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.1279, allocations: 1.454 MB / 417.4 MB, free: 9.988 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1279, allocations: 4 kB / 417.4 MB, free: 9.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1279, allocations: 0 / 417.4 MB, free: 9.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.128, allocations: 0 / 417.4 MB, free: 9.984 MB / 318.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.0009204/0.1289, allocations: 0.6041 MB / 418 MB, free: 9.332 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1289, allocations: 8.031 kB / 418 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.129, allocations: 46.55 kB / 418 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.129, allocations: 15.75 kB / 418 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.1292, allocations: 174.9 kB / 418.2 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1292, allocations: 7.984 kB / 418.2 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.1292, allocations: 8 kB / 418.2 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.1296, allocations: 201.5 kB / 418.4 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1296, allocations: 4 kB / 418.4 MB, free: 8.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1296, allocations: 3.938 kB / 418.4 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.1296, allocations: 4 kB / 418.4 MB, free: 8.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003738/0.13, allocations: 275.8 kB / 418.7 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006392/0.1306, allocations: 0.5104 MB / 419.2 MB, free: 7.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.131, allocations: 254.4 kB / 419.5 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.1312, allocations: 197 kB / 419.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1825/0.3137, allocations: 7.218 MB / 426.9 MB, free: 47.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.3138, allocations: 39.86 kB / 426.9 MB, free: 47.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.796e-06/0.3138, allocations: 0 / 426.9 MB, free: 47.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001031/0.3148, allocations: 0.5558 MB / 427.5 MB, free: 47.33 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.3149, allocations: 54.05 kB / 427.5 MB, free: 47.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.554e-05/0.315, allocations: 103.1 kB / 427.6 MB, free: 47.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.315, allocations: 28.64 kB / 427.6 MB, free: 47.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.315, allocations: 84.81 kB / 427.7 MB, free: 47.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/0.3151, allocations: 120.3 kB / 427.8 MB, free: 47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.3152, allocations: 34.48 kB / 427.9 MB, free: 46.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.361e-05/0.3153, allocations: 328.7 kB / 428.2 MB, free: 46.67 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.3155, allocations: 146.8 kB / 428.3 MB, free: 46.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.3157, allocations: 147.6 kB / 428.5 MB, free: 46.67 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.3162, allocations: 327 kB / 428.8 MB, free: 46.63 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3162, allocations: 0 / 428.8 MB, free: 46.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005596/0.3168, allocations: 372.1 kB / 429.2 MB, free: 46.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3168, allocations: 5.594 kB / 429.2 MB, free: 46.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.3168, allocations: 0.8438 kB / 429.2 MB, free: 46.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.3169, allocations: 1.281 kB / 429.2 MB, free: 46.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.317, allocations: 30.61 kB / 429.2 MB, free: 46.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.317, allocations: 0.8594 kB / 429.2 MB, free: 46.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.544e-05/0.3171, allocations: 24.41 kB / 429.2 MB, free: 46.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.3172, allocations: 3.734 kB / 429.2 MB, free: 46.45 MB / 318.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 8.399e-05/0.3172, allocations: 128.1 kB / 429.4 MB, free: 46.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.3173, allocations: 14.28 kB / 429.4 MB, free: 46.31 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006517/0.318, allocations: 422.7 kB / 429.8 MB, free: 46.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.318, allocations: 4.859 kB / 429.8 MB, free: 46.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.318, allocations: 0 / 429.8 MB, free: 46.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.318, allocations: 2.328 kB / 429.8 MB, free: 46.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.3183, allocations: 294.6 kB / 430.1 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3183, allocations: 1.094 kB / 430.1 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.3184, allocations: 28.64 kB / 430.1 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.3184, allocations: 1.562 kB / 430.1 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3184, allocations: 3.266 kB / 430.1 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3184, allocations: 2.516 kB / 430.1 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3184, allocations: 1.5 kB / 430.1 MB, free: 45.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005375/0.319, allocations: 479.9 kB / 430.6 MB, free: 45.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.665e-05/0.319, allocations: 112.3 kB / 430.7 MB, free: 45.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.3191, allocations: 6.094 kB / 430.7 MB, free: 45.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.367e-05/0.3192, allocations: 9.812 kB / 430.7 MB, free: 45.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.3192, allocations: 11.75 kB / 430.7 MB, free: 45.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.3192, allocations: 6.906 kB / 430.7 MB, free: 45.47 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.775e-05/0.3193, allocations: 86.02 kB / 430.8 MB, free: 45.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3193, allocations: 0 / 430.8 MB, free: 45.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001066/0.3204, allocations: 419.7 kB / 431.2 MB, free: 45.37 MB / 318.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.002292/0.3226, allocations: 1.556 MB / 432.8 MB, free: 44.47 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005449/0.3232, allocations: 378.6 kB / 433.2 MB, free: 44.31 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3232, allocations: 0 / 433.2 MB, free: 44.31 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.3235, allocations: 202.9 kB / 433.3 MB, free: 44.21 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005748/0.324, allocations: 69.06 kB / 433.4 MB, free: 44.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009418/0.325, allocations: 0.542 MB / 434 MB, free: 43.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.3252, allocations: 0.7142 MB / 434.7 MB, free: 43.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.829e-05/0.3253, allocations: 25.61 kB / 434.7 MB, free: 43.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.296e-05/0.3253, allocations: 40.16 kB / 434.7 MB, free: 43.15 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3253, allocations: 3.938 kB / 434.7 MB, free: 43.14 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0406/0.3659, allocations: 13.43 MB / 448.2 MB, free: 35.9 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/8.137, allocations: 7.438 kB / 448.2 MB, free: 35.9 MB / 318.1 MB (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 --timeout=50 --tolerance=1e-05 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_Saturation.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1)