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.001295/0.001295, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001435/0.001435, allocations: 192.1 kB / 16.25 MB, free: 6.625 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.217/1.217, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 5.299/5.299, allocations: 9.084 MB / 278.5 MB, free: 12.36 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.001411/0.001411, allocations: 67.83 kB / 337.6 MB, free: 25.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09379/0.09522, allocations: 48.16 MB / 385.8 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.01899/0.1142, allocations: 18.21 MB / 404 MB, free: 7.188 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004114/0.1184, allocations: 4.879 MB / 408.9 MB, free: 2.293 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.1185, allocations: 3.938 kB / 408.9 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008577/0.1194, allocations: 298.7 kB / 409.2 MB, free: 1.996 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.1212, allocations: 0.6466 MB / 409.8 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003946/0.1251, allocations: 1.643 MB / 411.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.1254, allocations: 187 kB / 411.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.1254, allocations: 5.125 kB / 411.6 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.1256, allocations: 91.53 kB / 411.7 MB, free: 15.42 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.587e-05/0.1257, allocations: 55.7 kB / 411.8 MB, free: 15.37 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.1257, allocations: 4 kB / 411.8 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004752/0.1305, allocations: 3.317 MB / 415.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.912e-05/0.1305, allocations: 15.92 kB / 415.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.048e-05/0.1306, allocations: 55.67 kB / 415.2 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.1329, allocations: 1.462 MB / 416.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1329, allocations: 0 / 416.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1329, allocations: 0 / 416.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1329, allocations: 0 / 416.6 MB, free: 10.5 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.0008685/0.1338, allocations: 0.608 MB / 417.3 MB, free: 9.848 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.1338, allocations: 12.03 kB / 417.3 MB, free: 9.836 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.952e-05/0.1339, allocations: 46.55 kB / 417.3 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.1339, allocations: 15.75 kB / 417.3 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.1341, allocations: 174.9 kB / 417.5 MB, free: 9.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1341, allocations: 4 kB / 417.5 MB, free: 9.551 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.1341, allocations: 8 kB / 417.5 MB, free: 9.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.1344, allocations: 201.5 kB / 417.7 MB, free: 9.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1345, allocations: 4 kB / 417.7 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1345, allocations: 3.984 kB / 417.7 MB, free: 9.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.1345, allocations: 4 kB / 417.7 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.1348, allocations: 275.8 kB / 418 MB, free: 9.059 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/0.1355, allocations: 0.5104 MB / 418.5 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.1358, allocations: 250.4 kB / 418.7 MB, free: 8.242 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.1361, allocations: 196.9 kB / 418.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2089/0.3449, allocations: 7.223 MB / 426.2 MB, free: 47.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.345, allocations: 35.38 kB / 426.2 MB, free: 47.8 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 3.417e-06/0.345, allocations: 0 / 426.2 MB, free: 47.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.0008976/0.3459, allocations: 0.5591 MB / 426.7 MB, free: 47.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.346, allocations: 55 kB / 426.8 MB, free: 47.67 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.346, allocations: 106.1 kB / 426.9 MB, free: 47.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.3461, allocations: 34.27 kB / 426.9 MB, free: 47.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.3461, allocations: 82.16 kB / 427 MB, free: 47.45 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.139e-05/0.3462, allocations: 115.1 kB / 427.1 MB, free: 47.4 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.3462, allocations: 37.16 kB / 427.2 MB, free: 47.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.361e-05/0.3463, allocations: 325.3 kB / 427.5 MB, free: 47.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.3465, allocations: 142.8 kB / 427.6 MB, free: 47.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.3467, allocations: 149.5 kB / 427.8 MB, free: 47.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.3472, allocations: 329.8 kB / 428.1 MB, free: 47.03 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3472, allocations: 2.969 kB / 428.1 MB, free: 47.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004969/0.3477, allocations: 368.9 kB / 428.5 MB, free: 46.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3477, allocations: 5.281 kB / 428.5 MB, free: 46.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3477, allocations: 3.797 kB / 428.5 MB, free: 46.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3477, allocations: 4.594 kB / 428.5 MB, free: 46.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.3479, allocations: 25.45 kB / 428.5 MB, free: 46.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3479, allocations: 2.094 kB / 428.5 MB, free: 46.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.887e-05/0.348, allocations: 23.31 kB / 428.5 MB, free: 46.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.348, allocations: 3.672 kB / 428.5 MB, free: 46.84 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 7.262e-05/0.3481, allocations: 124.7 kB / 428.6 MB, free: 46.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.3481, allocations: 15.22 kB / 428.7 MB, free: 46.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006031/0.3487, allocations: 423.3 kB / 429.1 MB, free: 46.53 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.3487, allocations: 3.781 kB / 429.1 MB, free: 46.53 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3488, allocations: 3.469 kB / 429.1 MB, free: 46.53 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3488, allocations: 1.734 kB / 429.1 MB, free: 46.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.349, allocations: 295.3 kB / 429.4 MB, free: 46.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.349, allocations: 0 / 429.4 MB, free: 46.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.3492, allocations: 33.39 kB / 429.4 MB, free: 46.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3492, allocations: 3.578 kB / 429.4 MB, free: 46.26 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3492, allocations: 2.422 kB / 429.4 MB, free: 46.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3492, allocations: 1.125 kB / 429.4 MB, free: 46.26 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3492, allocations: 2.188 kB / 429.4 MB, free: 46.26 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/0.3497, allocations: 474.8 kB / 429.9 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.3498, allocations: 110.8 kB / 430 MB, free: 45.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.3498, allocations: 5.344 kB / 430 MB, free: 45.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.407e-05/0.3499, allocations: 6.062 kB / 430 MB, free: 45.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.35, allocations: 14.94 kB / 430 MB, free: 45.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.35, allocations: 4.359 kB / 430 MB, free: 45.87 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.022e-05/0.35, allocations: 85.28 kB / 430.1 MB, free: 45.79 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.35, allocations: 0 / 430.1 MB, free: 45.79 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001179/0.3512, allocations: 421.4 kB / 430.5 MB, free: 45.77 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.002285/0.3535, allocations: 1.546 MB / 432.1 MB, free: 44.87 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005707/0.3541, allocations: 374.4 kB / 432.4 MB, free: 44.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.3541, allocations: 5.672 kB / 432.4 MB, free: 44.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.3544, allocations: 203.2 kB / 432.6 MB, free: 44.61 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/0.3549, allocations: 72.2 kB / 432.7 MB, free: 44.6 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.356, allocations: 0.6018 MB / 433.3 MB, free: 44.22 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.3562, allocations: 0.712 MB / 434 MB, free: 43.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.303e-05/0.3563, allocations: 27.3 kB / 434 MB, free: 43.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.3564, allocations: 40.84 kB / 434.1 MB, free: 43.49 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3564, allocations: 0 / 434.1 MB, free: 43.49 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6586/1.015, allocations: 13.29 MB / 447.4 MB, free: 36.51 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/1.015, allocations: 222.7 kB / 447.6 MB, free: 36.25 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.17/4.185, allocations: 0 / 447.6 MB, free: 36.25 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)