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.001229/0.001229, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001259/0.001259, allocations: 196.2 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 6.185/6.185, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.3051/0.3051, allocations: 9.077 MB / 278.4 MB, free: 12.41 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.001323/0.001324, allocations: 63.91 kB / 337.4 MB, free: 25.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.09268, allocations: 48.16 MB / 385.6 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.0192/0.1119, allocations: 18.33 MB / 403.9 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.1221, allocations: 11.27 MB / 415.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.829e-05/0.1222, allocations: 0 / 415.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.828e-05/0.1224, allocations: 3.984 kB / 415.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009822/0.1233, allocations: 310.4 kB / 415.5 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01308/0.1364, allocations: 4.48 MB / 420 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.1366, allocations: 147.2 kB / 420.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.1367, allocations: 7.984 kB / 420.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.1369, allocations: 79.58 kB / 420.2 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.668e-05/0.137, allocations: 47.84 kB / 420.3 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.137, allocations: 0 / 420.3 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2297/0.3667, allocations: 7.489 MB / 427.8 MB, free: 20.06 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.3668, allocations: 16.17 kB / 427.8 MB, free: 20.06 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.3669, allocations: 46.19 kB / 427.8 MB, free: 20.06 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.3796, allocations: 3.278 MB / 431.1 MB, free: 20.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3796, allocations: 3.156 kB / 431.1 MB, free: 20.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3797, allocations: 0 / 431.1 MB, free: 20.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3797, allocations: 2.141 kB / 431.1 MB, free: 20.04 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.003142/0.3828, allocations: 0.7972 MB / 431.9 MB, free: 19.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.3829, allocations: 9.406 kB / 431.9 MB, free: 19.46 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.823e-05/0.3829, allocations: 34.8 kB / 431.9 MB, free: 19.42 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.3831, allocations: 15.89 kB / 432 MB, free: 19.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.3832, allocations: 179.6 kB / 432.1 MB, free: 19.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.3832, allocations: 8.062 kB / 432.1 MB, free: 19.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.3833, allocations: 3.109 kB / 432.1 MB, free: 19.21 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.3837, allocations: 104.7 kB / 432.2 MB, free: 19.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3837, allocations: 0.5625 kB / 432.2 MB, free: 19.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3837, allocations: 1.094 kB / 432.2 MB, free: 19.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3837, allocations: 1.156 kB / 432.3 MB, free: 19.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004174/0.3841, allocations: 104.5 kB / 432.4 MB, free: 19.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.3846, allocations: 327.5 kB / 432.7 MB, free: 18.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/0.3851, allocations: 108.8 kB / 432.8 MB, free: 18.88 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.3853, allocations: 66.08 kB / 432.8 MB, free: 18.88 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02108/0.4064, allocations: 15.93 MB / 448.8 MB, free: 20.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.4065, allocations: 33.84 kB / 448.8 MB, free: 20.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 3.707e-06/0.4065, allocations: 1.375 kB / 448.8 MB, free: 20.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009188/0.4074, allocations: 221 kB / 449 MB, free: 20.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.4074, allocations: 52.78 kB / 449.1 MB, free: 20.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.4076, allocations: 137.5 kB / 449.2 MB, free: 20.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.4076, allocations: 27.08 kB / 449.2 MB, free: 20.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.4077, allocations: 92.77 kB / 449.3 MB, free: 20.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.4077, allocations: 31.94 kB / 449.4 MB, free: 20.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.4078, allocations: 21.41 kB / 449.4 MB, free: 20.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4079, allocations: 321 kB / 449.7 MB, free: 19.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.4081, allocations: 54.5 kB / 449.7 MB, free: 19.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.4083, allocations: 47.91 kB / 449.8 MB, free: 19.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.4086, allocations: 111.4 kB / 449.9 MB, free: 19.81 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4086, allocations: 0 / 449.9 MB, free: 19.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000418/0.409, allocations: 142.3 kB / 450 MB, free: 19.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.4091, allocations: 4.844 kB / 450 MB, free: 19.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4091, allocations: 4 kB / 450 MB, free: 19.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4091, allocations: 8.438 kB / 450.1 MB, free: 19.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.4092, allocations: 30.34 kB / 450.1 MB, free: 19.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4093, allocations: 2.719 kB / 450.1 MB, free: 19.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.4094, allocations: 15.12 kB / 450.1 MB, free: 19.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.4094, allocations: 1.156 kB / 450.1 MB, free: 19.77 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 8.942e-05/0.4095, allocations: 120.1 kB / 450.2 MB, free: 19.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.4096, allocations: 17.66 kB / 450.2 MB, free: 19.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006823/0.4102, allocations: 394.1 kB / 450.6 MB, free: 19.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.4103, allocations: 10.5 kB / 450.6 MB, free: 19.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4103, allocations: 0 / 450.6 MB, free: 19.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4103, allocations: 0 / 450.6 MB, free: 19.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.4105, allocations: 287 kB / 450.9 MB, free: 19.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.4106, allocations: 1.094 kB / 450.9 MB, free: 19.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.4107, allocations: 28.22 kB / 450.9 MB, free: 19.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4107, allocations: 0.9375 kB / 450.9 MB, free: 19.38 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.4107, allocations: 4.781 kB / 450.9 MB, free: 19.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4107, allocations: 5.406 kB / 450.9 MB, free: 19.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4107, allocations: 0 / 450.9 MB, free: 19.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006038/0.4113, allocations: 437.6 kB / 451.4 MB, free: 19.22 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.4114, allocations: 105.3 kB / 451.5 MB, free: 19.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.4115, allocations: 1.078 kB / 451.5 MB, free: 19.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.4117, allocations: 26.5 kB / 451.5 MB, free: 19.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.4117, allocations: 8.156 kB / 451.5 MB, free: 19.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.4118, allocations: 8.406 kB / 451.5 MB, free: 19.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.722e-05/0.4119, allocations: 99.38 kB / 451.6 MB, free: 19.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4119, allocations: 0 / 451.6 MB, free: 19.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002067/0.4139, allocations: 450 kB / 452.1 MB, free: 18.96 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.002953/0.4169, allocations: 1.566 MB / 453.6 MB, free: 18.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005164/0.4174, allocations: 203.4 kB / 453.8 MB, free: 18.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4174, allocations: 4.062 kB / 453.8 MB, free: 18.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.4177, allocations: 165.4 kB / 454 MB, free: 18.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.4181, allocations: 27.3 kB / 454 MB, free: 18.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.4192, allocations: 0.6365 MB / 454.7 MB, free: 17.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.4195, allocations: 0.7187 MB / 455.4 MB, free: 17.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.162e-05/0.4196, allocations: 28.52 kB / 455.4 MB, free: 17.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.361e-05/0.4197, allocations: 42.78 kB / 455.4 MB, free: 17.1 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4197, allocations: 0 / 455.4 MB, free: 17.1 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04459/0.4643, allocations: 16.01 MB / 471.4 MB, free: 8.352 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.4645, allocations: 212.8 kB / 471.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/2.846, allocations: 0 / 471.7 MB, free: 8.098 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)