Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001709/0.001709, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009453/0.0009453, allocations: 91.25 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2052/0.2052, allocations: 45.14 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.791e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1362, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.776/6.913, allocations: 2.801 GB / 3.305 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/6.913, allocations: 95.94 kB / 3.305 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.694/8.607, allocations: 0.4934 GB / 3.799 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.042e-06/8.607, allocations: 3.938 kB / 3.799 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.332e-05/8.607, allocations: 23.83 kB / 3.799 GB, free: 12.77 MB / 0.5261 GB 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.007218/8.614, allocations: 1.774 MB / 3.801 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/8.614, allocations: 8.031 kB / 3.801 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/8.616, allocations: 322.7 kB / 3.801 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/8.618, allocations: 0.5923 MB / 3.801 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.966e-05/8.618, allocations: 100.7 kB / 3.802 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.582e-05/8.618, allocations: 36 kB / 3.802 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001019/8.619, allocations: 0.7048 MB / 3.802 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/8.62, allocations: 0.896 MB / 3.803 GB, free: 8.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/8.62, allocations: 7.938 kB / 3.803 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.115e-05/8.62, allocations: 4 kB / 3.803 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.074e-05/8.62, allocations: 41.3 kB / 3.803 GB, free: 8.129 MB / 0.5261 GB 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.4208/9.041, allocations: 58 MB / 3.86 GB, free: 44.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008019/9.042, allocations: 392.1 kB / 3.86 GB, free: 44.4 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/9.042, allocations: 188.1 kB / 3.86 GB, free: 44.39 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01604/9.058, allocations: 8.876 MB / 3.869 GB, free: 38.67 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.278e-05/9.058, allocations: 37.66 kB / 3.869 GB, free: 38.63 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=37): time 3.637e-06/9.058, allocations: 0 / 3.869 GB, free: 38.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=41): time 0.004366/9.062, allocations: 1.457 MB / 3.871 GB, free: 38.27 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/9.062, allocations: 132.4 kB / 3.871 GB, free: 38.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005181/9.063, allocations: 485.1 kB / 3.871 GB, free: 38 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/9.063, allocations: 25.7 kB / 3.871 GB, free: 37.96 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/9.063, allocations: 420 kB / 3.872 GB, free: 37.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.97e-05/9.063, allocations: 146.3 kB / 3.872 GB, free: 37.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/9.063, allocations: 0 / 3.872 GB, free: 37.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.409e-05/9.063, allocations: 378.2 kB / 3.872 GB, free: 37.38 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/9.064, allocations: 218.7 kB / 3.872 GB, free: 37.38 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/9.064, allocations: 0.5343 MB / 3.873 GB, free: 36.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005826/9.065, allocations: 317.4 kB / 3.873 GB, free: 36.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/9.065, allocations: 5.812 kB / 3.873 GB, free: 36.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001266/9.066, allocations: 0.7807 MB / 3.874 GB, free: 36.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/9.066, allocations: 9.656 kB / 3.874 GB, free: 36.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/9.066, allocations: 12.38 kB / 3.874 GB, free: 36.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/9.066, allocations: 60.64 kB / 3.874 GB, free: 36.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/9.068, allocations: 305.8 kB / 3.874 GB, free: 36.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/9.069, allocations: 1.948 MB / 3.876 GB, free: 35.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/9.07, allocations: 82.61 kB / 3.876 GB, free: 35.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/9.07, allocations: 43.09 kB / 3.876 GB, free: 35.11 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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.000188/9.07, allocations: 146.4 kB / 3.876 GB, free: 35 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008707/9.071, allocations: 472.1 kB / 3.877 GB, free: 34.92 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.69e-05/9.071, allocations: 73.39 kB / 3.877 GB, free: 34.88 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/9.073, allocations: 1.86 MB / 3.879 GB, free: 34.69 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/9.073, allocations: 30.84 kB / 3.879 GB, free: 34.69 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/9.073, allocations: 0 / 3.879 GB, free: 34.69 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/9.073, allocations: 6.391 kB / 3.879 GB, free: 34.69 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/9.075, allocations: 2.856 MB / 3.882 GB, free: 34.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/9.075, allocations: 0 / 3.882 GB, free: 34.26 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009773/9.076, allocations: 215.3 kB / 3.882 GB, free: 34.26 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002322/9.077, allocations: 75.16 kB / 3.882 GB, free: 34.25 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/9.077, allocations: 11.81 kB / 3.882 GB, free: 34.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009639/9.078, allocations: 1.979 MB / 3.884 GB, free: 32.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/9.078, allocations: 0 / 3.884 GB, free: 32.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/9.079, allocations: 1.799 MB / 3.886 GB, free: 32.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/9.08, allocations: 235.7 kB / 3.886 GB, free: 32.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.358e-05/9.08, allocations: 3.812 kB / 3.886 GB, free: 32.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/9.08, allocations: 47.25 kB / 3.886 GB, free: 32.04 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/9.08, allocations: 38.22 kB / 3.886 GB, free: 32.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/9.08, allocations: 18.98 kB / 3.886 GB, free: 32.04 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003662/9.081, allocations: 350.8 kB / 3.886 GB, free: 31.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.062e-06/9.081, allocations: 0 / 3.886 GB, free: 31.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004305/9.085, allocations: 1.099 MB / 3.887 GB, free: 31.95 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 38 * 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.01027/9.095, allocations: 4.029 MB / 3.891 GB, free: 30.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001691/9.097, allocations: 0.8686 MB / 3.892 GB, free: 30.97 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/9.097, allocations: 0 / 3.892 GB, free: 30.97 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/9.098, allocations: 0.6449 MB / 3.893 GB, free: 30.96 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/9.1, allocations: 278.3 kB / 3.893 GB, free: 30.96 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006189/9.106, allocations: 2.086 MB / 3.895 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/9.106, allocations: 1.1 MB / 3.896 GB, free: 29.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008719/9.107, allocations: 0.5263 MB / 3.897 GB, free: 29.81 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003622/9.108, allocations: 352 kB / 3.897 GB, free: 29.8 MB / 0.5417 GB Notification: Performance of SimCode: time 7.32e-07/9.108, allocations: 0 / 3.897 GB, free: 29.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07166/9.179, allocations: 43.35 MB / 3.939 GB, free: 27.78 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/9.179, allocations: 191.7 kB / 3.939 GB, free: 27.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.286/12.47, allocations: 3.75 kB / 3.939 GB, free: 27.59 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat