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.004548/0.004548, allocations: 100.5 kB / 15.73 MB, free: 6.469 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.001121/0.001121, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.593/1.593, allocations: 205.1 MB / 222.6 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.09526/0.09526, allocations: 9.103 MB / 279 MB, free: 12.1 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.001638/0.001638, allocations: 59.91 kB / 387 MB, free: 8.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2688, allocations: 48.16 MB / 435.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.0233/0.2921, allocations: 18.23 MB / 453.3 MB, free: 9.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006029/0.2982, allocations: 4.896 MB / 458.2 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002163/0.2985, allocations: 3.938 kB / 458.2 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.2996, allocations: 320.6 kB / 458.6 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.3019, allocations: 0.7027 MB / 459.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005465/0.3074, allocations: 1.795 MB / 461.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.3077, allocations: 175.5 kB / 461.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.644e-05/0.3078, allocations: 6.625 kB / 461.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.3081, allocations: 97.48 kB / 461.3 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.812e-05/0.3082, allocations: 52.72 kB / 461.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.3082, allocations: 1.844 kB / 461.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006541/0.3148, allocations: 3.412 MB / 464.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.3148, allocations: 22.39 kB / 464.8 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.315, allocations: 55.27 kB / 464.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005277/0.3203, allocations: 1.459 MB / 466.3 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3203, allocations: 0 / 466.3 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3203, allocations: 0 / 466.3 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3203, allocations: 0.7812 kB / 466.3 MB, free: 0.7734 MB / 334.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.001172/0.3215, allocations: 0.6113 MB / 466.9 MB, free: 236 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3216, allocations: 9.406 kB / 467 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.03e-05/0.3216, allocations: 47.27 kB / 467 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.3217, allocations: 21.38 kB / 467 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.3219, allocations: 166.4 kB / 467.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.3219, allocations: 7.375 kB / 467.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.3219, allocations: 7.469 kB / 467.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.3223, allocations: 209.2 kB / 467.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.3223, allocations: 0 / 467.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3223, allocations: 1.094 kB / 467.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.3223, allocations: 2.438 kB / 467.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004093/0.3227, allocations: 278.8 kB / 467.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006678/0.3234, allocations: 0.5086 MB / 468.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.3237, allocations: 246.5 kB / 468.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.324, allocations: 197.7 kB / 468.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006681/0.3307, allocations: 7.222 MB / 475.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.3308, allocations: 38.5 kB / 475.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.715e-06/0.3308, allocations: 0 / 475.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.0008528/0.3316, allocations: 0.5777 MB / 476.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.3317, allocations: 51.41 kB / 476.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.975e-05/0.3318, allocations: 105.8 kB / 476.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3318, allocations: 29.64 kB / 476.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.3318, allocations: 80.8 kB / 476.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.148e-05/0.3319, allocations: 114.3 kB / 476.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.332, allocations: 37.61 kB / 476.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3321, allocations: 322.8 kB / 477.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.3323, allocations: 151.9 kB / 477.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.3325, allocations: 147.8 kB / 477.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.3329, allocations: 321.8 kB / 477.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3329, allocations: 0 / 477.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004769/0.3334, allocations: 366.6 kB / 478.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3334, allocations: 13.03 kB / 478.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3334, allocations: 0 / 478.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.3334, allocations: 4 kB / 478.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.3336, allocations: 31.97 kB / 478.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3336, allocations: 0 / 478.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-05/0.3337, allocations: 15.75 kB / 478.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.3337, allocations: 11.97 kB / 478.2 MB, free: 3.805 MB / 350.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.098e-05/0.3338, allocations: 125.7 kB / 478.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.3338, allocations: 19.84 kB / 478.4 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006363/0.3345, allocations: 416.1 kB / 478.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.3345, allocations: 7.984 kB / 478.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.3345, allocations: 256 / 478.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3345, allocations: 0 / 478.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.3348, allocations: 290.6 kB / 479.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3349, allocations: 0 / 479.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.335, allocations: 31.91 kB / 479.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.335, allocations: 11.94 kB / 479.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.335, allocations: 4 kB / 479.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.335, allocations: 0 / 479.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.335, allocations: 0 / 479.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.3356, allocations: 476.2 kB / 479.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.525e-05/0.3357, allocations: 112.9 kB / 479.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3357, allocations: 0 / 479.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3358, allocations: 15.98 kB / 479.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.3359, allocations: 11.92 kB / 479.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.3359, allocations: 4 kB / 479.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.279e-05/0.3359, allocations: 87.22 kB / 479.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.336, allocations: 0 / 479.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001515/0.3375, allocations: 419.7 kB / 480.2 MB, free: 1.715 MB / 350.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.003094/0.3406, allocations: 1.545 MB / 481.8 MB, free: 144 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006305/0.3412, allocations: 376.2 kB / 482.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3413, allocations: 0 / 482.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.3415, allocations: 199.9 kB / 482.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.3421, allocations: 72.03 kB / 482.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.3435, allocations: 0.5499 MB / 482.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.3438, allocations: 0.7165 MB / 483.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.656e-05/0.3439, allocations: 20.86 kB / 483.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.344, allocations: 39.42 kB / 483.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.344, allocations: 0 / 483.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/0.3818, allocations: 13.56 MB / 497.3 MB, free: 0.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/8.64, allocations: 8.5 kB / 497.3 MB, free: 0.5742 MB / 366.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)