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.005131/0.005131, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001138/0.001138, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.478/1.478, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04848/0.04848, allocations: 9.095 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.001594/0.001594, allocations: 70.55 kB / 386.9 MB, free: 8.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2871, allocations: 48.16 MB / 435.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_StartValues): time 0.02159/0.3088, allocations: 18.08 MB / 453.2 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01219/0.321, allocations: 11.07 MB / 464.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.3212, allocations: 0 / 464.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.789e-05/0.3213, allocations: 7.922 kB / 464.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.3224, allocations: 345.5 kB / 464.6 MB, free: 0.5781 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.01911/0.3416, allocations: 5.225 MB / 469.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.3419, allocations: 147.5 kB / 470 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.824e-05/0.3419, allocations: 3.781 kB / 470 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003442/0.3423, allocations: 94.53 kB / 470.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.3424, allocations: 47.62 kB / 470.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.3425, allocations: 4.844 kB / 470.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01652/0.359, allocations: 8.107 MB / 478.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.3591, allocations: 19.92 kB / 478.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.3592, allocations: 43.8 kB / 478.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009472/0.3687, allocations: 3.388 MB / 481.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3687, allocations: 4 kB / 481.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3687, allocations: 4 kB / 481.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.3687, allocations: 0 / 481.7 MB, free: 2.102 MB / 350.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.002163/0.3709, allocations: 0.8028 MB / 482.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.371, allocations: 8.031 kB / 482.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.371, allocations: 42.53 kB / 482.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.3713, allocations: 19.84 kB / 482.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.3715, allocations: 186.6 kB / 482.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.3715, allocations: 7.984 kB / 482.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.3715, allocations: 0 / 482.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.372, allocations: 97.56 kB / 482.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.372, allocations: 0 / 482.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3721, allocations: 4 kB / 482.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.3721, allocations: 7.938 kB / 482.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.3725, allocations: 107.9 kB / 483 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/0.3732, allocations: 312.8 kB / 483.3 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.3736, allocations: 110.5 kB / 483.4 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.3739, allocations: 68.8 kB / 483.4 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02404/0.3979, allocations: 15.93 MB / 499.4 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.398, allocations: 38.5 kB / 499.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.184e-06/0.398, allocations: 0 / 499.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009548/0.399, allocations: 221.5 kB / 499.6 MB, free: 13.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.399, allocations: 51.41 kB / 499.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.3991, allocations: 130.2 kB / 499.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.3992, allocations: 29.7 kB / 499.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.3992, allocations: 88.12 kB / 499.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.3993, allocations: 27.56 kB / 499.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.3993, allocations: 25.7 kB / 500 MB, free: 12.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3995, allocations: 322.8 kB / 0.4886 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.3997, allocations: 47.95 kB / 0.4886 GB, free: 12.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.3999, allocations: 51.89 kB / 0.4887 GB, free: 12.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.4002, allocations: 108.8 kB / 0.4888 GB, free: 12.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4002, allocations: 0 / 0.4888 GB, free: 12.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004413/0.4007, allocations: 150 kB / 0.4889 GB, free: 12.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4007, allocations: 8 kB / 0.4889 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4007, allocations: 0 / 0.4889 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4007, allocations: 0 / 0.4889 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.4009, allocations: 35.97 kB / 0.4889 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.4009, allocations: 0 / 0.4889 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.4011, allocations: 23.91 kB / 0.489 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.4011, allocations: 7.938 kB / 0.489 GB, free: 12.03 MB / 382.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.079e-05/0.4012, allocations: 121.7 kB / 0.4891 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.4012, allocations: 11.84 kB / 0.4891 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007527/0.402, allocations: 398.8 kB / 0.4895 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.402, allocations: 0 / 0.4895 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.402, allocations: 0 / 0.4895 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.402, allocations: 7.938 kB / 0.4895 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.4023, allocations: 277.9 kB / 0.4898 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.4023, allocations: 4 kB / 0.4898 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.4025, allocations: 35.84 kB / 0.4898 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4025, allocations: 8 kB / 0.4898 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.4025, allocations: 3.984 kB / 0.4898 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4025, allocations: 0 / 0.4898 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4025, allocations: 0 / 0.4898 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006592/0.4032, allocations: 424 kB / 0.4902 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.215e-05/0.4033, allocations: 112.8 kB / 0.4903 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.4033, allocations: 0 / 0.4903 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.4035, allocations: 15.97 kB / 0.4903 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.4035, allocations: 15.98 kB / 0.4903 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.4036, allocations: 0 / 0.4903 GB, free: 10.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.783e-05/0.4036, allocations: 110.5 kB / 0.4904 GB, free: 10.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4036, allocations: 0 / 0.4904 GB, free: 10.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001196/0.4048, allocations: 451.8 kB / 0.4909 GB, free: 9.984 MB / 382.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.003032/0.4079, allocations: 1.561 MB / 0.4924 GB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005758/0.4085, allocations: 199.8 kB / 0.4926 GB, free: 8.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.4085, allocations: 4.188 kB / 0.4926 GB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.4088, allocations: 171.8 kB / 0.4928 GB, free: 8.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.4092, allocations: 40.06 kB / 0.4928 GB, free: 7.988 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.4106, allocations: 0.5692 MB / 0.4934 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.4109, allocations: 0.72 MB / 0.4941 GB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.664e-05/0.411, allocations: 19.98 kB / 0.4941 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.842e-05/0.4111, allocations: 39.42 kB / 0.4941 GB, free: 6.578 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4111, allocations: 0 / 0.4941 GB, free: 6.578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04369/0.4548, allocations: 16.4 MB / 0.5101 GB, free: 6.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.435, allocations: 12.55 kB / 0.5101 GB, free: 6.168 MB / 398.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)