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.001038/0.001038, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008931/0.0008929, allocations: 99.62 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.875e-05, allocations: 4 kB / 343.8 MB, free: 8.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1334, allocations: 51.48 MB / 395.2 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.04/8.174, allocations: 2.787 GB / 3.173 GB, free: 55.38 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003554/8.174, allocations: 67.91 kB / 3.173 GB, free: 55.32 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7139/8.888, allocations: 106.3 MB / 3.277 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.474e-06/8.888, allocations: 1.344 kB / 3.277 GB, free: 73.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.611e-05/8.888, allocations: 1.5 kB / 3.277 GB, free: 73.38 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.009669/8.898, allocations: 1.155 MB / 3.278 GB, free: 72.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.038e-05/8.898, allocations: 10.59 kB / 3.278 GB, free: 72.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009081/8.899, allocations: 61.52 kB / 3.278 GB, free: 72.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/8.899, allocations: 223.5 kB / 3.278 GB, free: 72.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.333e-05/8.899, allocations: 5.562 kB / 3.278 GB, free: 72.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.108e-05/8.899, allocations: 12.58 kB / 3.278 GB, free: 72.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007191/8.9, allocations: 211 kB / 3.279 GB, free: 72.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/8.901, allocations: 204.6 kB / 3.279 GB, free: 72.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/8.901, allocations: 2 kB / 3.279 GB, free: 72.28 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/8.901, allocations: 1.156 kB / 3.279 GB, free: 72.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/8.901, allocations: 3.719 kB / 3.279 GB, free: 72.28 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.002125/8.903, allocations: 1.152 MB / 3.28 GB, free: 71.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/8.903, allocations: 164 kB / 3.28 GB, free: 71.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/8.904, allocations: 91.09 kB / 3.28 GB, free: 71.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1258/9.03, allocations: 52.49 MB / 3.331 GB, free: 50.78 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.58e-05/9.03, allocations: 38.59 kB / 3.332 GB, free: 50.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=23): time 5.67e-06/9.03, allocations: 0 / 3.332 GB, free: 50.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=33): time 0.007642/9.037, allocations: 1.232 MB / 3.333 GB, free: 50.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/9.038, allocations: 110.3 kB / 3.333 GB, free: 50.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/9.038, allocations: 108.5 kB / 3.333 GB, free: 49.95 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.384e-05/9.038, allocations: 27.58 kB / 3.333 GB, free: 49.92 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/9.038, allocations: 107.9 kB / 3.333 GB, free: 49.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/9.038, allocations: 114.3 kB / 3.333 GB, free: 49.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/9.038, allocations: 0 / 3.333 GB, free: 49.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000202/9.038, allocations: 326.1 kB / 3.333 GB, free: 49.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/9.039, allocations: 97.64 kB / 3.334 GB, free: 49.37 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/9.039, allocations: 168.6 kB / 3.334 GB, free: 49.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/9.04, allocations: 174 kB / 3.334 GB, free: 49.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/9.04, allocations: 0 / 3.334 GB, free: 49.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001909/9.042, allocations: 391.1 kB / 3.334 GB, free: 49.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/9.042, allocations: 3.438 kB / 3.334 GB, free: 49.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/9.042, allocations: 3.188 kB / 3.334 GB, free: 49.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/9.042, allocations: 32.94 kB / 3.334 GB, free: 49.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/9.043, allocations: 93.67 kB / 3.334 GB, free: 49.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007848/9.044, allocations: 0.5561 MB / 3.335 GB, free: 48.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/9.044, allocations: 20.12 kB / 3.335 GB, free: 48.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/9.044, allocations: 13.75 kB / 3.335 GB, free: 48.47 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.0002587/9.045, allocations: 116.2 kB / 3.335 GB, free: 48.35 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00185/9.047, allocations: 365.2 kB / 3.335 GB, free: 48.21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/9.047, allocations: 19.41 kB / 3.335 GB, free: 48.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/9.05, allocations: 1.415 MB / 3.337 GB, free: 47.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.886e-05/9.05, allocations: 26.77 kB / 3.337 GB, free: 47.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/9.05, allocations: 1.812 kB / 3.337 GB, free: 47.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/9.05, allocations: 3.844 kB / 3.337 GB, free: 47.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003824/9.054, allocations: 1.885 MB / 3.339 GB, free: 46.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/9.054, allocations: 0 / 3.339 GB, free: 46.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005828/9.054, allocations: 87.38 kB / 3.339 GB, free: 46.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000297/9.055, allocations: 66.72 kB / 3.339 GB, free: 46.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-05/9.055, allocations: 8.656 kB / 3.339 GB, free: 46.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006209/9.055, allocations: 0.6103 MB / 3.339 GB, free: 45.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/9.055, allocations: 0 / 3.339 GB, free: 45.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/9.058, allocations: 1.669 MB / 3.341 GB, free: 44.89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/9.058, allocations: 129.3 kB / 3.341 GB, free: 44.76 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/9.058, allocations: 3.188 kB / 3.341 GB, free: 44.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/9.059, allocations: 19.52 kB / 3.341 GB, free: 44.76 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/9.059, allocations: 38.45 kB / 3.341 GB, free: 44.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/9.059, allocations: 16.73 kB / 3.341 GB, free: 44.74 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001071/9.059, allocations: 93.56 kB / 3.341 GB, free: 44.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.52e-07/9.059, allocations: 0 / 3.341 GB, free: 44.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00774/9.067, allocations: 0.9603 MB / 3.342 GB, free: 44.47 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.01679/9.084, allocations: 3.784 MB / 3.346 GB, free: 42.26 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001762/9.086, allocations: 0.5361 MB / 3.347 GB, free: 42.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/9.086, allocations: 3.938 kB / 3.347 GB, free: 42.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001014/9.087, allocations: 491.2 kB / 3.347 GB, free: 41.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/9.088, allocations: 67.91 kB / 3.347 GB, free: 41.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008576/9.096, allocations: 1.429 MB / 3.348 GB, free: 41.06 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008086/9.097, allocations: 0.8295 MB / 3.349 GB, free: 40.35 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006863/9.098, allocations: 142.5 kB / 3.349 GB, free: 40.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/9.098, allocations: 126.5 kB / 3.35 GB, free: 40.23 MB / 458.7 MB Notification: Performance of SimCode: time 3.066e-06/9.098, allocations: 0 / 3.35 GB, free: 40.23 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09012/9.188, allocations: 29.48 MB / 3.378 GB, free: 28.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/9.189, allocations: 122.7 kB / 3.378 GB, free: 27.91 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.354/12.54, allocations: 0 / 3.378 GB, free: 27.91 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