Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 202.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.502/1.502, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 98.14 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2359/0.2359, allocations: 45.14 MB / 383.7 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.84e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1263, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.945/7.071, allocations: 2.756 GB / 3.26 GB, free: 85.79 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/7.071, allocations: 83.44 kB / 3.26 GB, free: 85.76 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7821/7.854, allocations: 213.6 MB / 3.469 GB, free: 90.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.022e-06/7.854, allocations: 0 / 3.469 GB, free: 90.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.296e-05/7.854, allocations: 7.906 kB / 3.469 GB, free: 90.41 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.007226/7.861, allocations: 1.745 MB / 3.471 GB, free: 88.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/7.861, allocations: 8.031 kB / 3.471 GB, free: 88.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/7.863, allocations: 189.8 kB / 3.471 GB, free: 88.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/7.863, allocations: 274.5 kB / 3.471 GB, free: 88.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/7.863, allocations: 8 kB / 3.471 GB, free: 88.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/7.863, allocations: 20 kB / 3.471 GB, free: 88.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005566/7.864, allocations: 469.3 kB / 3.472 GB, free: 87.63 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/7.864, allocations: 383.2 kB / 3.472 GB, free: 87.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/7.864, allocations: 7.891 kB / 3.472 GB, free: 87.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/7.864, allocations: 4 kB / 3.472 GB, free: 87.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/7.864, allocations: 8 kB / 3.472 GB, free: 87.19 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.5881/8.452, allocations: 132.8 MB / 3.602 GB, free: 79.67 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/8.452, allocations: 75.45 kB / 3.602 GB, free: 79.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/8.453, allocations: 34.17 kB / 3.602 GB, free: 79.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1029/8.555, allocations: 48.68 MB / 3.649 GB, free: 55.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/8.556, allocations: 111.2 kB / 3.649 GB, free: 55.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.834e-06/8.556, allocations: 0 / 3.649 GB, free: 55.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.002927/8.559, allocations: 0.5906 MB / 3.65 GB, free: 54.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/8.559, allocations: 77.11 kB / 3.65 GB, free: 54.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/8.559, allocations: 226.1 kB / 3.65 GB, free: 54.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/8.559, allocations: 28.89 kB / 3.65 GB, free: 54.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.647e-05/8.559, allocations: 247.5 kB / 3.651 GB, free: 54.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/8.559, allocations: 49.81 kB / 3.651 GB, free: 54.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/8.559, allocations: 0 / 3.651 GB, free: 54.58 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.544e-05/8.559, allocations: 338.8 kB / 3.651 GB, free: 54.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.569e-05/8.559, allocations: 61.78 kB / 3.651 GB, free: 54.26 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/8.559, allocations: 328.7 kB / 3.651 GB, free: 53.92 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/8.561, allocations: 207.5 kB / 3.652 GB, free: 53.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/8.561, allocations: 3.469 kB / 3.652 GB, free: 53.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001501/8.562, allocations: 489.8 kB / 3.652 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/8.562, allocations: 7.406 kB / 3.652 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/8.562, allocations: 15.19 kB / 3.652 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/8.562, allocations: 14.75 kB / 3.652 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/8.563, allocations: 216.9 kB / 3.652 GB, free: 53.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002731/8.564, allocations: 0.6009 MB / 3.653 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00052/8.564, allocations: 13.19 kB / 3.653 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.574e-05/8.564, allocations: 50.03 kB / 3.653 GB, free: 53.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001311/8.564, allocations: 125.8 kB / 3.653 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006083/8.565, allocations: 169.3 kB / 3.653 GB, free: 53.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/8.565, allocations: 25.58 kB / 3.653 GB, free: 53.11 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008019/8.566, allocations: 0.7925 MB / 3.654 GB, free: 53 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/8.566, allocations: 3.906 kB / 3.654 GB, free: 53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/8.566, allocations: 7.797 kB / 3.654 GB, free: 53 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/8.566, allocations: 3.844 kB / 3.654 GB, free: 53 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/8.566, allocations: 416.3 kB / 3.654 GB, free: 52.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/8.566, allocations: 0 / 3.654 GB, free: 52.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/8.567, allocations: 50.78 kB / 3.654 GB, free: 52.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002305/8.567, allocations: 232.8 kB / 3.655 GB, free: 52.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/8.567, allocations: 7.062 kB / 3.655 GB, free: 52.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002629/8.567, allocations: 0.6559 MB / 3.655 GB, free: 52.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/8.567, allocations: 0 / 3.655 GB, free: 52.28 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005621/8.568, allocations: 0.5829 MB / 3.656 GB, free: 52.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/8.568, allocations: 144.2 kB / 3.656 GB, free: 52.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/8.568, allocations: 8.484 kB / 3.656 GB, free: 52.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/8.568, allocations: 7.125 kB / 3.656 GB, free: 52.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/8.568, allocations: 14.03 kB / 3.656 GB, free: 52.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/8.568, allocations: 7.656 kB / 3.656 GB, free: 52.01 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000197/8.568, allocations: 227.9 kB / 3.656 GB, free: 51.92 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/8.568, allocations: 0 / 3.656 GB, free: 51.92 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006712/8.575, allocations: 1.604 MB / 3.658 GB, free: 51.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.01442/8.59, allocations: 2.938 MB / 3.661 GB, free: 50.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007811/8.59, allocations: 319 kB / 3.661 GB, free: 50.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/8.59, allocations: 0.5 kB / 3.661 GB, free: 50.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/8.591, allocations: 170.4 kB / 3.661 GB, free: 50.92 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/8.591, allocations: 39.03 kB / 3.661 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/8.597, allocations: 1.157 MB / 3.662 GB, free: 50.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/8.597, allocations: 0.8109 MB / 3.663 GB, free: 49.74 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00132/8.598, allocations: 1.127 MB / 3.664 GB, free: 49.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/8.598, allocations: 131.1 kB / 3.664 GB, free: 49.65 MB / 0.5261 GB Notification: Performance of SimCode: time 1.333e-06/8.598, allocations: 0 / 3.664 GB, free: 49.65 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/8.706, allocations: 40.85 MB / 3.704 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/8.706, allocations: 160.5 kB / 3.704 GB, free: 26.51 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.377/12.08, allocations: 0 / 3.704 GB, free: 26.51 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat