Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.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_StartValues,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues",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.0007559/0.0007559, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005023/0.005023, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.361/1.361, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04539/0.04539, allocations: 9.071 MB / 279.8 MB, free: 12.14 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.0005134/0.0005135, allocations: 15.94 kB / 339.8 MB, free: 25.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07637/0.0769, allocations: 49.19 MB / 389 MB, free: 8.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.01845/0.09539, allocations: 17.81 MB / 406.8 MB, free: 6.418 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.1059, allocations: 11.15 MB / 418 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.429e-05/0.106, allocations: 0 / 418 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.899e-05/0.1061, allocations: 7.922 kB / 418 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008519/0.1069, allocations: 306.4 kB / 418.3 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01276/0.1197, allocations: 4.505 MB / 422.8 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.1199, allocations: 135.3 kB / 422.9 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.12, allocations: 4 kB / 422.9 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.1202, allocations: 79.58 kB / 423 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.797e-05/0.1203, allocations: 55.81 kB / 423.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1204, allocations: 4 kB / 423.1 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1875/0.3078, allocations: 7.49 MB / 430.6 MB, free: 19.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.3079, allocations: 14.08 kB / 430.6 MB, free: 19.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.143e-05/0.308, allocations: 67.72 kB / 430.6 MB, free: 19.7 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009947/0.318, allocations: 3.269 MB / 433.9 MB, free: 19.67 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.318, allocations: 0.7031 kB / 433.9 MB, free: 19.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.318, allocations: 0.8438 kB / 433.9 MB, free: 19.67 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.318, allocations: 2.062 kB / 433.9 MB, free: 19.67 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.002938/0.321, allocations: 0.7932 MB / 434.7 MB, free: 19.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.3211, allocations: 8.812 kB / 434.7 MB, free: 19.09 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.3211, allocations: 38.39 kB / 434.8 MB, free: 19.05 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.3213, allocations: 17.11 kB / 434.8 MB, free: 19.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.3214, allocations: 181.6 kB / 434.9 MB, free: 18.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3214, allocations: 3.031 kB / 435 MB, free: 18.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.3214, allocations: 9.594 kB / 435 MB, free: 18.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.3219, allocations: 114.3 kB / 435.1 MB, free: 18.81 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3219, allocations: 0 / 435.1 MB, free: 18.81 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3219, allocations: 4.156 kB / 435.1 MB, free: 18.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3219, allocations: 4.203 kB / 435.1 MB, free: 18.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004748/0.3224, allocations: 128.7 kB / 435.2 MB, free: 18.81 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.3229, allocations: 330.4 kB / 435.5 MB, free: 18.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004681/0.3233, allocations: 117.3 kB / 435.6 MB, free: 18.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.3236, allocations: 80.89 kB / 435.7 MB, free: 18.51 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01943/0.3431, allocations: 15.64 MB / 451.4 MB, free: 20.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.3431, allocations: 35.19 kB / 451.4 MB, free: 20.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.3431, allocations: 0 / 451.4 MB, free: 20.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0008966/0.344, allocations: 259.3 kB / 451.6 MB, free: 20.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.3441, allocations: 51.41 kB / 451.7 MB, free: 20.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.3442, allocations: 139.9 kB / 451.8 MB, free: 19.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.3442, allocations: 25.7 kB / 451.9 MB, free: 19.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/0.3443, allocations: 89.23 kB / 451.9 MB, free: 19.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.3443, allocations: 34.45 kB / 452 MB, free: 19.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.3443, allocations: 20 kB / 452 MB, free: 19.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.933e-05/0.3444, allocations: 325.4 kB / 452.3 MB, free: 19.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.3446, allocations: 59.16 kB / 452.4 MB, free: 19.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.3448, allocations: 64.67 kB / 452.4 MB, free: 19.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/0.3452, allocations: 131.4 kB / 452.6 MB, free: 19.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3452, allocations: 0 / 452.6 MB, free: 19.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000436/0.3457, allocations: 177.1 kB / 452.7 MB, free: 19.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3457, allocations: 15.14 kB / 452.8 MB, free: 19.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3457, allocations: 0 / 452.8 MB, free: 19.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3457, allocations: 3.938 kB / 452.8 MB, free: 19.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.3459, allocations: 31.83 kB / 452.8 MB, free: 19.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3459, allocations: 0.8594 kB / 452.8 MB, free: 19.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.346, allocations: 25.88 kB / 452.8 MB, free: 19.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.346, allocations: 3.219 kB / 452.8 MB, free: 19.4 MB / 334.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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.796e-05/0.3461, allocations: 123.2 kB / 452.9 MB, free: 19.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.3462, allocations: 12.78 kB / 453 MB, free: 19.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006993/0.3469, allocations: 425 kB / 453.4 MB, free: 19.21 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.3469, allocations: 6.281 kB / 453.4 MB, free: 19.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3469, allocations: 0 / 453.4 MB, free: 19.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3469, allocations: 2.953 kB / 453.4 MB, free: 19.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.3471, allocations: 278.9 kB / 453.7 MB, free: 19.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3472, allocations: 1.406 kB / 453.7 MB, free: 19.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.3473, allocations: 39.92 kB / 453.7 MB, free: 19.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3473, allocations: 1.156 kB / 453.7 MB, free: 19.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3473, allocations: 5.312 kB / 453.7 MB, free: 19.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3473, allocations: 3.938 kB / 453.7 MB, free: 19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3474, allocations: 1.781 kB / 453.7 MB, free: 19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006206/0.348, allocations: 454.7 kB / 454.1 MB, free: 18.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.3481, allocations: 106.1 kB / 454.3 MB, free: 18.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.3481, allocations: 9.312 kB / 454.3 MB, free: 18.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.3482, allocations: 25.7 kB / 454.3 MB, free: 18.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.3483, allocations: 13.34 kB / 454.3 MB, free: 18.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.3483, allocations: 5.938 kB / 454.3 MB, free: 18.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.676e-05/0.3484, allocations: 105.8 kB / 454.4 MB, free: 18.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3484, allocations: 0 / 454.4 MB, free: 18.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001731/0.3501, allocations: 443 kB / 454.8 MB, free: 18.58 MB / 334.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: 3 ($cse1.liq.phase,$cse1.vap.phase,$cse2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00258/0.3527, allocations: 1.592 MB / 456.4 MB, free: 17.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004844/0.3532, allocations: 233 kB / 456.7 MB, free: 17.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3532, allocations: 4 kB / 456.7 MB, free: 17.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.3535, allocations: 171.7 kB / 456.8 MB, free: 17.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.3539, allocations: 37.45 kB / 456.9 MB, free: 17.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009543/0.3548, allocations: 0.6497 MB / 457.5 MB, free: 17.42 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.3551, allocations: 0.7167 MB / 458.2 MB, free: 16.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.873e-05/0.3551, allocations: 27.19 kB / 458.3 MB, free: 16.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.3552, allocations: 38.72 kB / 458.3 MB, free: 16.71 MB / 334.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3552, allocations: 0 / 458.3 MB, free: 16.71 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.384, allocations: 15.94 MB / 474.2 MB, free: 7.297 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002726/0.3843, allocations: 208.3 kB / 474.4 MB, free: 7.047 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/2.547, allocations: 0 / 474.4 MB, free: 7.047 MB / 334.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_Ancillary_StartValues.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues.pipe 2>&1)