Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.WaterIF97,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_WaterIF97",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.WaterIF97,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_WaterIF97",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 199.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 227.2 MB / 245 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000897/0.0008971, allocations: 102.3 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002376/0.0002376, allocations: 8 kB / 358 MB, free: 9.453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1988, allocations: 51.48 MB / 409.5 MB, free: 26.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.958/5.157, allocations: 2.788 GB / 3.188 GB, free: 36.88 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/5.157, allocations: 63.41 kB / 3.188 GB, free: 36.84 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5238/5.681, allocations: 108.4 MB / 3.294 GB, free: 107.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.084e-06/5.681, allocations: 0 / 3.294 GB, free: 107.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/5.681, allocations: 8 kB / 3.294 GB, free: 107.6 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.006264/5.687, allocations: 1.163 MB / 3.295 GB, free: 106.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/5.687, allocations: 12.03 kB / 3.295 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.275e-05/5.687, allocations: 46.5 kB / 3.295 GB, free: 106.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004732/5.688, allocations: 55.16 kB / 3.295 GB, free: 106.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/5.688, allocations: 218.9 kB / 3.295 GB, free: 106.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/5.688, allocations: 12.28 kB / 3.295 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/5.688, allocations: 22.66 kB / 3.295 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/5.689, allocations: 400.8 kB / 3.296 GB, free: 105.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/5.689, allocations: 3.906 kB / 3.296 GB, free: 105.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/5.689, allocations: 8 kB / 3.296 GB, free: 105.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/5.689, allocations: 7.938 kB / 3.296 GB, free: 105.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/5.691, allocations: 365.7 kB / 3.296 GB, free: 105.5 MB / 458.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.001191/5.692, allocations: 1.189 MB / 3.297 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/5.693, allocations: 288.7 kB / 3.297 GB, free: 104 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07891/5.772, allocations: 52.31 MB / 3.348 GB, free: 51.57 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/5.772, allocations: 42.41 kB / 3.348 GB, free: 51.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=23): time 2.094e-06/5.772, allocations: 0 / 3.348 GB, free: 51.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.006398/5.778, allocations: 1.631 MB / 3.35 GB, free: 50.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/5.778, allocations: 110.8 kB / 3.35 GB, free: 49.99 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.849e-05/5.778, allocations: 116.1 kB / 3.35 GB, free: 49.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/5.778, allocations: 29.7 kB / 3.35 GB, free: 49.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/5.778, allocations: 96.61 kB / 3.35 GB, free: 49.74 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.469e-05/5.778, allocations: 129.3 kB / 3.351 GB, free: 49.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/5.778, allocations: 8.375 kB / 3.351 GB, free: 49.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.618e-05/5.778, allocations: 322.5 kB / 3.351 GB, free: 49.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/5.779, allocations: 137.9 kB / 3.351 GB, free: 49.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/5.779, allocations: 204.5 kB / 3.351 GB, free: 48.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/5.78, allocations: 160 kB / 3.351 GB, free: 48.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/5.78, allocations: 0 / 3.351 GB, free: 48.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009188/5.78, allocations: 448 kB / 3.352 GB, free: 48.45 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/5.78, allocations: 4 kB / 3.352 GB, free: 48.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/5.78, allocations: 4 kB / 3.352 GB, free: 48.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002236/5.781, allocations: 40.08 kB / 3.352 GB, free: 48.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/5.781, allocations: 87.05 kB / 3.352 GB, free: 48.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002594/5.781, allocations: 0.5479 MB / 3.352 GB, free: 47.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/5.782, allocations: 34.02 kB / 3.352 GB, free: 47.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/5.782, allocations: 16 kB / 3.352 GB, free: 47.72 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: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.00012/5.782, allocations: 141.8 kB / 3.353 GB, free: 47.58 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.105e-05/5.782, allocations: 15.86 kB / 3.353 GB, free: 47.56 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/5.784, allocations: 1.459 MB / 3.354 GB, free: 46.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/5.784, allocations: 22.92 kB / 3.354 GB, free: 46.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/5.784, allocations: 0 / 3.354 GB, free: 46.24 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/5.784, allocations: 4.031 kB / 3.354 GB, free: 46.24 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/5.786, allocations: 1.999 MB / 3.356 GB, free: 44.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/5.786, allocations: 8.125 kB / 3.356 GB, free: 44.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000416/5.787, allocations: 82.97 kB / 3.356 GB, free: 44.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003449/5.787, allocations: 83.7 kB / 3.356 GB, free: 44.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/5.787, allocations: 15.75 kB / 3.356 GB, free: 44.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002508/5.787, allocations: 0.5866 MB / 3.357 GB, free: 43.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/5.787, allocations: 0 / 3.357 GB, free: 43.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/5.789, allocations: 1.777 MB / 3.358 GB, free: 41.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.18e-05/5.789, allocations: 132.3 kB / 3.359 GB, free: 41.81 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/5.789, allocations: 15.89 kB / 3.359 GB, free: 41.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/5.79, allocations: 23.89 kB / 3.359 GB, free: 41.78 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/5.79, allocations: 31.44 kB / 3.359 GB, free: 41.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/5.79, allocations: 10.72 kB / 3.359 GB, free: 41.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.046e-05/5.79, allocations: 98.53 kB / 3.359 GB, free: 41.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.513e-06/5.79, allocations: 0 / 3.359 GB, free: 41.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004608/5.795, allocations: 0.9776 MB / 3.36 GB, free: 40.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.009479/5.804, allocations: 3.888 MB / 3.364 GB, free: 37.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001233/5.805, allocations: 0.6009 MB / 3.364 GB, free: 36.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/5.805, allocations: 4.125 kB / 3.364 GB, free: 36.47 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007258/5.806, allocations: 0.5225 MB / 3.365 GB, free: 36 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/5.807, allocations: 69.69 kB / 3.365 GB, free: 35.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006542/5.813, allocations: 3.803 MB / 3.368 GB, free: 32.35 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/5.814, allocations: 0.8317 MB / 3.369 GB, free: 31.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003783/5.814, allocations: 123.6 kB / 3.369 GB, free: 31.46 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/5.814, allocations: 130.6 kB / 3.369 GB, free: 31.36 MB / 458.7 MB Notification: Performance of SimCode: time 7.41e-07/5.814, allocations: 4 kB / 3.369 GB, free: 31.35 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05411/5.868, allocations: 30.9 MB / 3.4 GB, free: 1.113 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/5.868, allocations: 195.6 kB / 3.4 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.029/8.897, allocations: 0 / 3.4 GB, free: 0.8711 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.WaterIF97.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.WaterIF97_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_WaterIF97_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_WaterIF97.fmu > Modelica_trunk_Modelica.Media.Examples.WaterIF97.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.WaterIF97_res.mat does not exist to compare? outputFormat=mat