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.0009375/0.0009375, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006079/0.006079, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.309/1.309, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.07444/0.07444, allocations: 9.059 MB / 279.8 MB, free: 12.39 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.0005181/0.0005182, allocations: 12 kB / 339.8 MB, free: 25.56 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08334/0.08387, allocations: 49.19 MB / 389 MB, free: 8.332 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.01864/0.1025, allocations: 17.95 MB / 407 MB, free: 6.301 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004145/0.1067, allocations: 4.896 MB / 411.9 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.878e-05/0.1069, allocations: 0 / 411.9 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008982/0.1078, allocations: 290.6 kB / 412.2 MB, free: 1.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.1094, allocations: 0.6271 MB / 412.8 MB, free: 488 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003974/0.1133, allocations: 1.496 MB / 414.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.1136, allocations: 175 kB / 414.5 MB, free: 14.81 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.1136, allocations: 13.06 kB / 414.5 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.1139, allocations: 95.5 kB / 414.6 MB, free: 14.71 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.066e-05/0.114, allocations: 47.73 kB / 414.6 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.114, allocations: 0 / 414.6 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005056/0.119, allocations: 3.114 MB / 417.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.1191, allocations: 11.92 kB / 417.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1192, allocations: 81.39 kB / 417.8 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002729/0.122, allocations: 1.411 MB / 419.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.122, allocations: 0 / 419.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.122, allocations: 0 / 419.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.122, allocations: 0 / 419.2 MB, free: 10.03 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.0009832/0.123, allocations: 0.6041 MB / 419.8 MB, free: 9.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1231, allocations: 11.97 kB / 419.8 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.1231, allocations: 46.55 kB / 419.9 MB, free: 9.309 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.1231, allocations: 15.75 kB / 419.9 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.1233, allocations: 174.9 kB / 420.1 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1233, allocations: 8 kB / 420.1 MB, free: 9.074 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.1233, allocations: 8 kB / 420.1 MB, free: 9.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.1236, allocations: 209.3 kB / 420.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1237, allocations: 0 / 420.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1237, allocations: 0 / 420.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.1237, allocations: 11.94 kB / 420.3 MB, free: 8.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003831/0.1241, allocations: 283.8 kB / 420.6 MB, free: 8.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.1247, allocations: 0.5221 MB / 421.1 MB, free: 7.996 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.125, allocations: 258.6 kB / 421.4 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.1253, allocations: 200.9 kB / 421.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1653/0.2906, allocations: 7.227 MB / 428.8 MB, free: 46.26 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.2907, allocations: 40.62 kB / 428.8 MB, free: 46.22 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 3.025e-06/0.2907, allocations: 2.656 kB / 428.8 MB, free: 46.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001003/0.2917, allocations: 0.5765 MB / 429.4 MB, free: 46.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.2917, allocations: 57.75 kB / 429.4 MB, free: 46.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.539e-05/0.2918, allocations: 103 kB / 429.6 MB, free: 45.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.2918, allocations: 28.95 kB / 429.6 MB, free: 45.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.2919, allocations: 82.83 kB / 429.7 MB, free: 45.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.716e-05/0.292, allocations: 111.2 kB / 429.8 MB, free: 45.81 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.292, allocations: 25.47 kB / 429.8 MB, free: 45.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.629e-05/0.2921, allocations: 323.5 kB / 430.1 MB, free: 45.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.2923, allocations: 151.1 kB / 430.3 MB, free: 45.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.2925, allocations: 156.2 kB / 430.4 MB, free: 45.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.293, allocations: 338.4 kB / 430.7 MB, free: 45.47 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.293, allocations: 0.9688 kB / 430.7 MB, free: 45.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006024/0.2936, allocations: 386.3 kB / 431.1 MB, free: 45.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.2936, allocations: 5.531 kB / 431.1 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.2936, allocations: 1.281 kB / 431.1 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.2937, allocations: 2.781 kB / 431.1 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.2938, allocations: 31.92 kB / 431.2 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.2938, allocations: 1.547 kB / 431.2 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-05/0.2939, allocations: 23.88 kB / 431.2 MB, free: 45.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.2939, allocations: 6.797 kB / 431.2 MB, free: 45.41 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.247e-05/0.294, allocations: 120.5 kB / 431.3 MB, free: 45.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.2941, allocations: 15.17 kB / 431.3 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007682/0.2949, allocations: 435.5 kB / 431.7 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.2949, allocations: 8.547 kB / 431.8 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2949, allocations: 0 / 431.8 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2949, allocations: 2.297 kB / 431.8 MB, free: 45.24 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.2952, allocations: 294.9 kB / 432 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2952, allocations: 2.031 kB / 432 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.2953, allocations: 31.31 kB / 432.1 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2953, allocations: 4.453 kB / 432.1 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.2954, allocations: 1.812 kB / 432.1 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.2954, allocations: 0.9688 kB / 432.1 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2954, allocations: 0 / 432.1 MB, free: 45.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005895/0.296, allocations: 489.9 kB / 432.6 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.2961, allocations: 111.8 kB / 432.7 MB, free: 44.63 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.2961, allocations: 2.375 kB / 432.7 MB, free: 44.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.2962, allocations: 9.828 kB / 432.7 MB, free: 44.63 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.2963, allocations: 19.36 kB / 432.7 MB, free: 44.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.2963, allocations: 4.531 kB / 432.7 MB, free: 44.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.448e-05/0.2963, allocations: 85.61 kB / 432.8 MB, free: 44.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2963, allocations: 1.25 kB / 432.8 MB, free: 44.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001077/0.2974, allocations: 420.4 kB / 433.2 MB, free: 44.52 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.002622/0.3001, allocations: 1.554 MB / 434.8 MB, free: 43.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005456/0.3006, allocations: 383.3 kB / 435.1 MB, free: 43.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3006, allocations: 0 / 435.1 MB, free: 43.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.3009, allocations: 206.6 kB / 435.3 MB, free: 43.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/0.3015, allocations: 72.27 kB / 435.4 MB, free: 43.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.3027, allocations: 0.628 MB / 436 MB, free: 42.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.3028, allocations: 0.714 MB / 436.7 MB, free: 42.29 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.303, allocations: 23.11 kB / 436.8 MB, free: 42.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.303, allocations: 35.25 kB / 436.8 MB, free: 42.26 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.303, allocations: 0 / 436.8 MB, free: 42.26 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.3318, allocations: 13.06 MB / 449.9 MB, free: 35.34 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/0.3321, allocations: 210.9 kB / 450.1 MB, free: 35.09 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/2.508, allocations: 3.516 kB / 450.1 MB, free: 35.09 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)