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.01155/0.01155, allocations: 169.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.06682/0.06682, allocations: 9.069 MB / 24.92 MB, free: 3.82 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 232.6 MB, free: 6.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00103/0.001029, allocations: 90.84 kB / 282.6 MB, free: 4.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.0004321, allocations: 11.94 kB / 342.4 MB, free: 21.86 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1419, allocations: 49.18 MB / 391.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.581/8.723, allocations: 2.851 GB / 3.234 GB, free: 86.85 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/8.723, allocations: 64.06 kB / 3.234 GB, free: 86.85 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8151/9.538, allocations: 177.8 MB / 3.408 GB, free: 75.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.069e-06/9.538, allocations: 0 / 3.408 GB, free: 75.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/9.538, allocations: 11.28 kB / 3.408 GB, free: 75.98 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.0127/9.551, allocations: 1.428 MB / 3.409 GB, free: 75.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.21e-05/9.551, allocations: 9.562 kB / 3.409 GB, free: 75.29 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/9.551, allocations: 47.78 kB / 3.409 GB, free: 75.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.948e-05/9.551, allocations: 16.48 kB / 3.409 GB, free: 75.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/9.552, allocations: 180 kB / 3.409 GB, free: 75.04 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/9.552, allocations: 7.75 kB / 3.409 GB, free: 75.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/9.552, allocations: 11.97 kB / 3.409 GB, free: 75.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/9.553, allocations: 339.5 kB / 3.41 GB, free: 74.95 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/9.553, allocations: 4.484 kB / 3.41 GB, free: 74.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/9.553, allocations: 5.125 kB / 3.41 GB, free: 74.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/9.553, allocations: 2.906 kB / 3.41 GB, free: 74.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/9.555, allocations: 339 kB / 3.41 GB, free: 74.95 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.001408/9.556, allocations: 1.063 MB / 3.411 GB, free: 74.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/9.557, allocations: 305.8 kB / 3.411 GB, free: 73.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8364/10.39, allocations: 182 MB / 3.589 GB, free: 100 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.042e-05/10.39, allocations: 35.53 kB / 3.589 GB, free: 99.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 3.697e-06/10.39, allocations: 0 / 3.589 GB, free: 99.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=12): time 0.002336/10.4, allocations: 0.5227 MB / 3.59 GB, free: 99.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/10.4, allocations: 110.4 kB / 3.59 GB, free: 99.81 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/10.4, allocations: 143 kB / 3.59 GB, free: 99.71 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/10.4, allocations: 25.7 kB / 3.59 GB, free: 99.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.422e-05/10.4, allocations: 108 kB / 3.59 GB, free: 99.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/10.4, allocations: 42.23 kB / 3.59 GB, free: 99.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/10.4, allocations: 3.75 kB / 3.59 GB, free: 99.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/10.4, allocations: 322.4 kB / 3.59 GB, free: 99.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/10.4, allocations: 79.47 kB / 3.59 GB, free: 99.27 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/10.4, allocations: 115.2 kB / 3.59 GB, free: 99.21 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/10.4, allocations: 80 kB / 3.591 GB, free: 99.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/10.4, allocations: 0 / 3.591 GB, free: 99.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005818/10.4, allocations: 234.5 kB / 3.591 GB, free: 99.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/10.4, allocations: 9.656 kB / 3.591 GB, free: 99.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/10.4, allocations: 0 / 3.591 GB, free: 99.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/10.4, allocations: 3.969 kB / 3.591 GB, free: 99.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/10.4, allocations: 56.2 kB / 3.591 GB, free: 99.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/10.4, allocations: 5.422 kB / 3.591 GB, free: 99.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/10.4, allocations: 34.62 kB / 3.591 GB, free: 99.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/10.4, allocations: 7.812 kB / 3.591 GB, free: 99.17 MB / 474.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 () * Number of clocked 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.0001525/10.4, allocations: 133.6 kB / 3.591 GB, free: 99.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/10.4, allocations: 11.5 kB / 3.591 GB, free: 99.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/10.4, allocations: 1.145 MB / 3.592 GB, free: 98.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/10.4, allocations: 22.59 kB / 3.592 GB, free: 98.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/10.4, allocations: 0 / 3.592 GB, free: 98.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/10.4, allocations: 0 / 3.592 GB, free: 98.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008226/10.4, allocations: 0.582 MB / 3.593 GB, free: 98.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/10.4, allocations: 0 / 3.593 GB, free: 98.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/10.4, allocations: 44.75 kB / 3.593 GB, free: 98.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/10.4, allocations: 3.812 kB / 3.593 GB, free: 98.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/10.4, allocations: 10.97 kB / 3.593 GB, free: 98.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/10.4, allocations: 0 / 3.593 GB, free: 98.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/10.4, allocations: 3.953 kB / 3.593 GB, free: 98.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/10.4, allocations: 0.8977 MB / 3.594 GB, free: 98.33 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/10.4, allocations: 120.8 kB / 3.594 GB, free: 98.22 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/10.4, allocations: 13.06 kB / 3.594 GB, free: 98.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/10.4, allocations: 22.81 kB / 3.594 GB, free: 98.21 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/10.4, allocations: 25.31 kB / 3.594 GB, free: 98.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/10.4, allocations: 3.812 kB / 3.594 GB, free: 98.21 MB / 474.7 MB Notification: Performance of sorting global known variables: time 8.42e-05/10.4, allocations: 108.3 kB / 3.594 GB, free: 98.14 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.01e-07/10.4, allocations: 2.156 kB / 3.594 GB, free: 98.14 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009992/10.41, allocations: 1.421 MB / 3.595 GB, free: 98.11 MB / 474.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 () * Number of clocked 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.02177/10.44, allocations: 3.231 MB / 3.598 GB, free: 96.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001151/10.44, allocations: 334.8 kB / 3.599 GB, free: 96.92 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/10.44, allocations: 0 / 3.599 GB, free: 96.92 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006464/10.44, allocations: 290.4 kB / 3.599 GB, free: 96.92 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007892/10.44, allocations: 47.17 kB / 3.599 GB, free: 96.92 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/10.45, allocations: 1.509 MB / 3.601 GB, free: 96.21 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/10.45, allocations: 0.8009 MB / 3.601 GB, free: 95.52 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000357/10.45, allocations: 105.1 kB / 3.601 GB, free: 95.51 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/10.45, allocations: 90.36 kB / 3.602 GB, free: 95.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.883e-06/10.45, allocations: 0 / 3.602 GB, free: 95.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/10.56, allocations: 37.55 MB / 3.638 GB, free: 93.81 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003068/10.56, allocations: 200.9 kB / 3.638 GB, free: 93.57 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.071/14.63, allocations: 4 kB / 3.638 GB, free: 93.57 MB / 474.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)