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.001587/0.001587, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009574/0.0009574, allocations: 91.33 kB / 292.1 MB, free: 5.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.67e-05/3.673e-05, allocations: 4 kB / 350.6 MB, free: 2.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 51.49 MB / 402.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.678/7.815, allocations: 2.788 GB / 3.18 GB, free: 21.42 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003732/7.816, allocations: 67.53 kB / 3.181 GB, free: 21.39 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6294/8.445, allocations: 108.2 MB / 3.286 GB, free: 95.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.519e-06/8.445, allocations: 0 / 3.286 GB, free: 95.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.358e-05/8.445, allocations: 7.938 kB / 3.286 GB, free: 95.4 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.00792/8.453, allocations: 1.146 MB / 3.287 GB, free: 94.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.676e-05/8.453, allocations: 15.88 kB / 3.287 GB, free: 94.37 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/8.453, allocations: 43 kB / 3.287 GB, free: 94.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005625/8.454, allocations: 57.62 kB / 3.287 GB, free: 94.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/8.454, allocations: 219.2 kB / 3.288 GB, free: 94.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/8.454, allocations: 12.91 kB / 3.288 GB, free: 94.06 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.949e-05/8.454, allocations: 13.69 kB / 3.288 GB, free: 94.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/8.455, allocations: 383.6 kB / 3.288 GB, free: 93.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/8.455, allocations: 0 / 3.288 GB, free: 93.81 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/8.455, allocations: 3.75 kB / 3.288 GB, free: 93.81 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/8.456, allocations: 4 kB / 3.288 GB, free: 93.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009006/8.456, allocations: 308.8 kB / 3.288 GB, free: 93.63 MB / 458.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.001346/8.458, allocations: 1.199 MB / 3.29 GB, free: 92.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/8.458, allocations: 274.5 kB / 3.29 GB, free: 92.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/8.459, allocations: 97.53 kB / 3.29 GB, free: 92.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09225/8.551, allocations: 52.47 MB / 3.341 GB, free: 39.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/8.551, allocations: 38.69 kB / 3.341 GB, free: 39.49 MB / 458.7 MB Notification: Performance of pre-optimization done (n=23): time 2.645e-06/8.551, allocations: 0 / 3.341 GB, free: 39.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.005609/8.557, allocations: 1.432 MB / 3.343 GB, free: 38.26 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/8.557, allocations: 110.4 kB / 3.343 GB, free: 38.13 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.264e-05/8.557, allocations: 100.4 kB / 3.343 GB, free: 38.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/8.557, allocations: 33.23 kB / 3.343 GB, free: 38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/8.557, allocations: 107.3 kB / 3.343 GB, free: 37.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.148e-05/8.557, allocations: 122.4 kB / 3.343 GB, free: 37.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/8.557, allocations: 5.875 kB / 3.343 GB, free: 37.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.872e-05/8.557, allocations: 325.5 kB / 3.343 GB, free: 37.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/8.557, allocations: 104.8 kB / 3.343 GB, free: 37.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/8.557, allocations: 177.2 kB / 3.344 GB, free: 37.24 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/8.558, allocations: 120.5 kB / 3.344 GB, free: 37.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/8.558, allocations: 0 / 3.344 GB, free: 37.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006377/8.558, allocations: 374 kB / 3.344 GB, free: 36.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/8.558, allocations: 4 kB / 3.344 GB, free: 36.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/8.558, allocations: 4.844 kB / 3.344 GB, free: 36.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002308/8.559, allocations: 32.8 kB / 3.344 GB, free: 36.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/8.559, allocations: 96.09 kB / 3.344 GB, free: 36.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003611/8.559, allocations: 0.5522 MB / 3.345 GB, free: 36.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/8.56, allocations: 31.95 kB / 3.345 GB, free: 36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/8.56, allocations: 15.98 kB / 3.345 GB, free: 35.99 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 () * 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.0001116/8.56, allocations: 125 kB / 3.345 GB, free: 35.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.963e-05/8.56, allocations: 19.77 kB / 3.345 GB, free: 35.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/8.562, allocations: 1.433 MB / 3.346 GB, free: 34.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/8.562, allocations: 19.97 kB / 3.346 GB, free: 34.38 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/8.562, allocations: 0 / 3.346 GB, free: 34.38 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/8.562, allocations: 3.938 kB / 3.346 GB, free: 34.38 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/8.564, allocations: 1.97 MB / 3.348 GB, free: 32.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/8.564, allocations: 4.125 kB / 3.348 GB, free: 32.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/8.565, allocations: 87.86 kB / 3.348 GB, free: 32.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/8.565, allocations: 72.7 kB / 3.348 GB, free: 32.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/8.565, allocations: 11.98 kB / 3.348 GB, free: 32.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002973/8.565, allocations: 0.5914 MB / 3.349 GB, free: 31.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/8.565, allocations: 0 / 3.349 GB, free: 31.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/8.567, allocations: 1.676 MB / 3.351 GB, free: 29.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/8.567, allocations: 134.3 kB / 3.351 GB, free: 29.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/8.567, allocations: 12 kB / 3.351 GB, free: 29.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/8.568, allocations: 23.89 kB / 3.351 GB, free: 29.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.525e-05/8.568, allocations: 35.89 kB / 3.351 GB, free: 29.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/8.568, allocations: 11.98 kB / 3.351 GB, free: 29.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.051e-05/8.568, allocations: 91.28 kB / 3.351 GB, free: 29.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/8.568, allocations: 0 / 3.351 GB, free: 29.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006136/8.574, allocations: 0.9796 MB / 3.352 GB, free: 28.5 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 () * 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.009856/8.584, allocations: 3.792 MB / 3.356 GB, free: 24.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009998/8.585, allocations: 0.5579 MB / 3.356 GB, free: 24.11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/8.585, allocations: 0 / 3.356 GB, free: 24.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005162/8.585, allocations: 493.9 kB / 3.357 GB, free: 23.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/8.586, allocations: 68.66 kB / 3.357 GB, free: 23.56 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004742/8.591, allocations: 1.484 MB / 3.358 GB, free: 22.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/8.591, allocations: 0.8217 MB / 3.359 GB, free: 21.16 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000424/8.591, allocations: 138.5 kB / 3.359 GB, free: 21.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/8.592, allocations: 127.4 kB / 3.359 GB, free: 20.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.192e-06/8.592, allocations: 0 / 3.359 GB, free: 20.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3925/8.984, allocations: 32.2 MB / 3.391 GB, free: 78.17 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/8.984, allocations: 161.5 kB / 3.391 GB, free: 77.95 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.281/12.27, allocations: 2.656 kB / 3.391 GB, free: 77.95 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