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.004841/0.004841, allocations: 99.84 kB / 15.73 MB, free: 6.496 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.001327/0.001327, allocations: 195.9 kB / 16.68 MB, free: 6.375 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.355/1.355, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.08266/0.08266, allocations: 9.088 MB / 279 MB, free: 12.07 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.002078/0.002078, allocations: 76.11 kB / 387 MB, free: 8.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2254, 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.01861/0.244, allocations: 18.23 MB / 453.3 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004902/0.249, allocations: 4.903 MB / 458.3 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.2491, allocations: 1.531 kB / 458.3 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008429/0.2499, allocations: 324.7 kB / 458.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.2517, allocations: 0.6944 MB / 459.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003901/0.2556, allocations: 1.801 MB / 461.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.2558, allocations: 167.6 kB / 461.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.2558, allocations: 11.16 kB / 461.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.2561, allocations: 101.2 kB / 461.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.323e-05/0.2562, allocations: 46.92 kB / 461.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.2562, allocations: 4.375 kB / 461.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005428/0.2616, allocations: 3.422 MB / 464.8 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.2617, allocations: 15.92 kB / 464.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.691e-05/0.2618, allocations: 53.25 kB / 464.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.2643, allocations: 1.458 MB / 466.3 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2644, allocations: 5.469 kB / 466.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2644, allocations: 0 / 466.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.2644, allocations: 4 kB / 466.3 MB, free: 0.7539 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.001035/0.2654, allocations: 0.6214 MB / 467 MB, free: 204 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2655, allocations: 9.781 kB / 467 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.11e-05/0.2655, allocations: 47.2 kB / 467 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.2656, allocations: 16.69 kB / 467 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.2658, allocations: 175.5 kB / 467.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.2658, allocations: 5.688 kB / 467.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.2658, allocations: 4.469 kB / 467.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.2662, allocations: 204.4 kB / 467.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.2662, allocations: 0 / 467.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.2662, allocations: 1.188 kB / 467.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.2662, allocations: 14.2 kB / 467.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.2666, allocations: 275.5 kB / 467.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006645/0.2673, allocations: 0.5097 MB / 468.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.2677, allocations: 248.5 kB / 468.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.2679, allocations: 198.4 kB / 468.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00721/0.2751, allocations: 7.225 MB / 475.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.2752, allocations: 38.5 kB / 475.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.954e-06/0.2752, allocations: 0 / 475.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.0009271/0.2761, allocations: 0.5778 MB / 476.5 MB, free: 5.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2762, allocations: 51.41 kB / 476.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.453e-05/0.2763, allocations: 101.9 kB / 476.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.2763, allocations: 25.7 kB / 476.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.2764, allocations: 92.78 kB / 476.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.4e-05/0.2765, allocations: 118.9 kB / 476.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/0.2766, allocations: 33.7 kB / 476.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2767, allocations: 330.8 kB / 477.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.2769, allocations: 143.9 kB / 477.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.2772, allocations: 147.8 kB / 477.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.2776, allocations: 317.9 kB / 477.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2776, allocations: 0 / 477.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005509/0.2782, allocations: 382.5 kB / 478.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2782, allocations: 7.938 kB / 478.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.2782, allocations: 4 kB / 478.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2782, allocations: 0 / 478.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.2784, allocations: 27.97 kB / 478.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2784, allocations: 0 / 478.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.855e-05/0.2785, allocations: 19.83 kB / 478.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.2785, allocations: 3.984 kB / 478.3 MB, free: 3.773 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.484e-05/0.2786, allocations: 121.8 kB / 478.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.2787, allocations: 23.78 kB / 478.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006562/0.2793, allocations: 416.3 kB / 478.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.2793, allocations: 11.98 kB / 478.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2794, allocations: 0 / 478.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2794, allocations: 0 / 478.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.2797, allocations: 286.6 kB / 479.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2797, allocations: 0 / 479.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.2798, allocations: 31.97 kB / 479.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.2798, allocations: 3.938 kB / 479.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.2799, allocations: 4 kB / 479.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2799, allocations: 4.188 kB / 479.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.2799, allocations: 11.94 kB / 479.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006171/0.2805, allocations: 472.2 kB / 479.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.963e-05/0.2806, allocations: 116.9 kB / 479.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.2806, allocations: 0 / 479.7 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.2807, allocations: 11.98 kB / 479.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.2808, allocations: 11.98 kB / 479.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.2808, allocations: 0 / 479.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.66e-05/0.2808, allocations: 87.28 kB / 479.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2809, allocations: 0 / 479.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001098/0.282, allocations: 430.6 kB / 480.3 MB, free: 1.672 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.002315/0.2843, allocations: 1.555 MB / 481.8 MB, free: 88 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005922/0.2849, allocations: 367.7 kB / 482.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2849, allocations: 0 / 482.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.2852, allocations: 203.9 kB / 482.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.2857, allocations: 68.94 kB / 482.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.2868, allocations: 0.5602 MB / 483 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.2871, allocations: 0.7204 MB / 483.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.385e-05/0.2872, allocations: 21.23 kB / 483.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.17e-05/0.2873, allocations: 39.42 kB / 483.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2873, allocations: 4 kB / 483.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03926/0.3266, allocations: 13.47 MB / 497.3 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.528, allocations: 8.562 kB / 497.3 MB, free: 0.5977 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)