Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002699/0.0027, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.06706/0.06706, allocations: 8.66 MB / 21.92 MB, free: 3.465 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.2 MB / 229.3 MB, free: 14.8 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 94.48 kB / 279 MB, free: 15.83 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.421e-05/4.425e-05, allocations: 0 / 336.1 MB, free: 6.609 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3544, allocations: 49.17 MB / 385.3 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.222/9.577, allocations: 2.851 GB / 3.228 GB, free: 124.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/9.577, allocations: 59.03 kB / 3.228 GB, free: 124.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8537/10.43, allocations: 177.5 MB / 3.401 GB, free: 72.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.905e-06/10.43, allocations: 0 / 3.401 GB, free: 72.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.29e-05/10.43, allocations: 3.25 kB / 3.401 GB, free: 72.64 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.008648/10.44, allocations: 1.405 MB / 3.402 GB, free: 71.95 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/10.44, allocations: 11.66 kB / 3.402 GB, free: 71.95 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.071e-05/10.44, allocations: 46.83 kB / 3.403 GB, free: 71.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/10.44, allocations: 25.77 kB / 3.403 GB, free: 71.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/10.44, allocations: 184.5 kB / 3.403 GB, free: 71.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/10.44, allocations: 7.688 kB / 3.403 GB, free: 71.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/10.44, allocations: 7.75 kB / 3.403 GB, free: 71.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008433/10.44, allocations: 337.2 kB / 3.403 GB, free: 71.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/10.44, allocations: 0 / 3.403 GB, free: 71.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/10.44, allocations: 10.7 kB / 3.403 GB, free: 71.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/10.44, allocations: 3.938 kB / 3.403 GB, free: 71.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006636/10.44, allocations: 289.2 kB / 3.403 GB, free: 71.61 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/10.44, allocations: 1.05 MB / 3.404 GB, free: 70.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/10.44, allocations: 301.4 kB / 3.405 GB, free: 70.63 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.029e-05/10.44, allocations: 64.12 kB / 3.405 GB, free: 70.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8651/11.31, allocations: 183.2 MB / 3.584 GB, free: 59.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.827e-05/11.31, allocations: 39.38 kB / 3.584 GB, free: 59.58 MB / 458.7 MB Notification: Performance of pre-optimization done (n=12): time 4.017e-06/11.31, allocations: 0 / 3.584 GB, free: 59.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=12): time 0.001935/11.31, allocations: 435.1 kB / 3.584 GB, free: 59.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/11.31, allocations: 107.8 kB / 3.584 GB, free: 59.42 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/11.31, allocations: 135.5 kB / 3.584 GB, free: 59.33 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/11.31, allocations: 29.55 kB / 3.584 GB, free: 59.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/11.31, allocations: 109.4 kB / 3.584 GB, free: 59.22 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/11.31, allocations: 42.28 kB / 3.584 GB, free: 59.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-06/11.31, allocations: 5.594 kB / 3.584 GB, free: 59.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/11.31, allocations: 320.9 kB / 3.585 GB, free: 58.89 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/11.31, allocations: 29.44 kB / 3.585 GB, free: 58.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/11.31, allocations: 84.89 kB / 3.585 GB, free: 58.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.866e-05/11.31, allocations: 46.28 kB / 3.585 GB, free: 58.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/11.31, allocations: 1.203 kB / 3.585 GB, free: 58.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003527/11.31, allocations: 145.8 kB / 3.585 GB, free: 58.78 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/11.31, allocations: 3.875 kB / 3.585 GB, free: 58.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/11.31, allocations: 7.828 kB / 3.585 GB, free: 58.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/11.31, allocations: 0 / 3.585 GB, free: 58.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/11.31, allocations: 64.05 kB / 3.585 GB, free: 58.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/11.31, allocations: 0.9375 kB / 3.585 GB, free: 58.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/11.31, allocations: 35.64 kB / 3.585 GB, free: 58.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/11.31, allocations: 10.83 kB / 3.585 GB, free: 58.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (state_ps.phase,state.phase,state_ph.phase,state_dT.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001182/11.31, allocations: 123.3 kB / 3.585 GB, free: 58.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/11.31, allocations: 11.5 kB / 3.585 GB, free: 58.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/11.31, allocations: 1.117 MB / 3.586 GB, free: 58.51 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-05/11.31, allocations: 20.89 kB / 3.586 GB, free: 58.51 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/11.31, allocations: 6.812 kB / 3.586 GB, free: 58.51 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/11.31, allocations: 9.281 kB / 3.586 GB, free: 58.51 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009233/11.32, allocations: 0.5807 MB / 3.587 GB, free: 58.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/11.32, allocations: 0 / 3.587 GB, free: 58.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/11.32, allocations: 40.8 kB / 3.587 GB, free: 58.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-06/11.32, allocations: 4 kB / 3.587 GB, free: 58.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/11.32, allocations: 6.453 kB / 3.587 GB, free: 58.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/11.32, allocations: 3.906 kB / 3.587 GB, free: 58.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/11.32, allocations: 3.953 kB / 3.587 GB, free: 58.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009267/11.32, allocations: 0.8092 MB / 3.588 GB, free: 57.92 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/11.32, allocations: 135.6 kB / 3.588 GB, free: 57.81 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/11.32, allocations: 3.875 kB / 3.588 GB, free: 57.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/11.32, allocations: 24.5 kB / 3.588 GB, free: 57.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.377e-05/11.32, allocations: 21.11 kB / 3.588 GB, free: 57.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/11.32, allocations: 3.125 kB / 3.588 GB, free: 57.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.982e-05/11.32, allocations: 117.2 kB / 3.588 GB, free: 57.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/11.32, allocations: 1.203 kB / 3.588 GB, free: 57.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01036/11.33, allocations: 1.423 MB / 3.59 GB, free: 57.69 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02014/11.35, allocations: 3.149 MB / 3.593 GB, free: 56.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008195/11.35, allocations: 239.4 kB / 3.593 GB, free: 56.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/11.35, allocations: 448 / 3.593 GB, free: 56.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004424/11.35, allocations: 256.9 kB / 3.593 GB, free: 56.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008103/11.35, allocations: 43.5 kB / 3.593 GB, free: 56.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009348/11.36, allocations: 1.171 MB / 3.594 GB, free: 55.99 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/11.36, allocations: 0.7979 MB / 3.595 GB, free: 55.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003694/11.36, allocations: 118.1 kB / 3.595 GB, free: 55.28 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/11.36, allocations: 91.25 kB / 3.595 GB, free: 55.27 MB / 458.7 MB Notification: Performance of SimCode: time 5.029e-06/11.36, allocations: 0 / 3.595 GB, free: 55.27 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/11.47, allocations: 39.13 MB / 3.633 GB, free: 47.38 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/11.47, allocations: 167.8 kB / 3.634 GB, free: 47.16 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.887/15.35, allocations: 0 / 3.634 GB, free: 47.16 MB / 458.7 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_b_Water.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water.pipe 2>&1)