Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01606/0.01607, allocations: 176.8 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.906/1.906, allocations: 194.5 MB / 210.3 MB, free: 8.789 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002793/0.002793, allocations: 112.7 kB / 255.6 MB, free: 11.41 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2561/0.2561, allocations: 40.01 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004808, allocations: 19.62 kB / 406.3 MB, free: 52.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 54.87 MB / 461.2 MB, free: 3.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.993/8.094, allocations: 2.627 GB / 3.077 GB, free: 42.33 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/8.094, allocations: 95.84 kB / 3.077 GB, free: 42.28 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805/10.9, allocations: 0.492 GB / 3.569 GB, free: 46.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.746e-06/10.9, allocations: 3.094 kB / 3.569 GB, free: 46.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.61e-05/10.9, allocations: 25.81 kB / 3.569 GB, free: 46.05 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.008817/10.91, allocations: 1.797 MB / 3.571 GB, free: 45.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/10.91, allocations: 11.12 kB / 3.571 GB, free: 45.23 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003688/10.91, allocations: 107.8 kB / 3.571 GB, free: 45.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003594/10.91, allocations: 324.3 kB / 3.571 GB, free: 45.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/10.92, allocations: 0.6096 MB / 3.572 GB, free: 44.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/10.92, allocations: 114.7 kB / 3.572 GB, free: 44.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/10.92, allocations: 64.17 kB / 3.572 GB, free: 44.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003996/10.92, allocations: 1.15 MB / 3.573 GB, free: 44.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.187e-05/10.92, allocations: 5.938 kB / 3.573 GB, free: 44.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/10.92, allocations: 36.62 kB / 3.573 GB, free: 44.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.379e-05/10.92, allocations: 45 kB / 3.573 GB, free: 44.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002781/10.92, allocations: 0.8278 MB / 3.574 GB, free: 44.52 MB / 490.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.009855/10.93, allocations: 5.486 MB / 3.58 GB, free: 40.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/10.93, allocations: 0.5608 MB / 3.58 GB, free: 40.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1562/11.09, allocations: 49 MB / 3.628 GB, free: 26.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/11.09, allocations: 40.25 kB / 3.628 GB, free: 26.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 3.226e-06/11.09, allocations: 0 / 3.628 GB, free: 26.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.007632/11.1, allocations: 1.941 MB / 3.63 GB, free: 26.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/11.1, allocations: 158.1 kB / 3.63 GB, free: 26.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009323/11.1, allocations: 0.532 MB / 3.631 GB, free: 25.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/11.1, allocations: 38.44 kB / 3.631 GB, free: 25.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/11.1, allocations: 408.8 kB / 3.631 GB, free: 25.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/11.1, allocations: 167.2 kB / 3.631 GB, free: 25.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/11.1, allocations: 14.22 kB / 3.631 GB, free: 25.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002379/11.1, allocations: 375 kB / 3.631 GB, free: 25.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/11.1, allocations: 228.9 kB / 3.632 GB, free: 25.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008452/11.1, allocations: 0.5885 MB / 3.632 GB, free: 24.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000803/11.1, allocations: 335.1 kB / 3.633 GB, free: 24.75 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/11.1, allocations: 6.844 kB / 3.633 GB, free: 24.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002333/11.11, allocations: 0.8854 MB / 3.633 GB, free: 24.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/11.11, allocations: 12.84 kB / 3.633 GB, free: 24.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/11.11, allocations: 13.88 kB / 3.633 GB, free: 24.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004485/11.11, allocations: 71.55 kB / 3.634 GB, free: 24.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/11.11, allocations: 298 kB / 3.634 GB, free: 24.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/11.11, allocations: 1.979 MB / 3.636 GB, free: 22.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/11.11, allocations: 66.5 kB / 3.636 GB, free: 22.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/11.11, allocations: 40.59 kB / 3.636 GB, free: 22.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006572/11.11, allocations: 281.7 kB / 3.636 GB, free: 22.67 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/11.11, allocations: 75.02 kB / 3.636 GB, free: 22.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003471/11.12, allocations: 2.214 MB / 3.638 GB, free: 22.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.039e-05/11.12, allocations: 32.77 kB / 3.638 GB, free: 22.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/11.12, allocations: 0 / 3.638 GB, free: 22.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/11.12, allocations: 3.141 kB / 3.638 GB, free: 22.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005559/11.12, allocations: 3.273 MB / 3.642 GB, free: 21.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/11.12, allocations: 4.031 kB / 3.642 GB, free: 21.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/11.12, allocations: 187.7 kB / 3.642 GB, free: 21.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006404/11.12, allocations: 101.1 kB / 3.642 GB, free: 21.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.988e-05/11.12, allocations: 11.84 kB / 3.642 GB, free: 21.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/11.13, allocations: 2.005 MB / 3.644 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/11.13, allocations: 0 / 3.644 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003306/11.13, allocations: 1.976 MB / 3.646 GB, free: 19.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007003/11.13, allocations: 287.1 kB / 3.646 GB, free: 19.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/11.13, allocations: 15.8 kB / 3.646 GB, free: 19.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/11.13, allocations: 60.31 kB / 3.646 GB, free: 19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/11.13, allocations: 34.83 kB / 3.646 GB, free: 18.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.337e-05/11.13, allocations: 22.8 kB / 3.646 GB, free: 18.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001065/11.13, allocations: 0.5069 MB / 3.647 GB, free: 18.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.82e-07/11.13, allocations: 0 / 3.647 GB, free: 18.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006501/11.14, allocations: 1.122 MB / 3.648 GB, free: 18.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01421/11.15, allocations: 4.047 MB / 3.652 GB, free: 16.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002986/11.16, allocations: 0.926 MB / 3.653 GB, free: 16.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/11.16, allocations: 0 / 3.653 GB, free: 16.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/11.16, allocations: 0.6602 MB / 3.653 GB, free: 16.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/11.16, allocations: 366.7 kB / 3.654 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01847/11.18, allocations: 13.81 MB / 3.667 GB, free: 20.69 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009046/11.18, allocations: 1.134 MB / 3.668 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001606/11.18, allocations: 458.4 kB / 3.669 GB, free: 19.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007633/11.18, allocations: 388.1 kB / 3.669 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/11.18, allocations: 0 / 3.669 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.609/11.79, allocations: 50.85 MB / 3.719 GB, free: 79.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003069/11.79, allocations: 284.9 kB / 3.719 GB, free: 78.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.226/17.02, allocations: 0.75 kB / 3.719 GB, free: 78.96 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat