Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.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.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_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.001582/0.001583, allocations: 203.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.452/1.452, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001031/0.001032, allocations: 93.05 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 45.14 MB / 383.7 MB, free: 256 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.839e-05, allocations: 0 / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1276, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.857/6.985, allocations: 2.757 GB / 3.262 GB, free: 86.56 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/6.985, allocations: 79.84 kB / 3.262 GB, free: 86.53 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8154/7.801, allocations: 214.1 MB / 3.471 GB, free: 90.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.623e-06/7.801, allocations: 0 / 3.471 GB, free: 90.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.282e-05/7.801, allocations: 4 kB / 3.471 GB, free: 90.71 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.006376/7.807, allocations: 1.769 MB / 3.473 GB, free: 88.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/7.807, allocations: 8.031 kB / 3.473 GB, free: 88.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/7.809, allocations: 227.5 kB / 3.473 GB, free: 88.67 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/7.809, allocations: 278.5 kB / 3.473 GB, free: 88.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/7.809, allocations: 16 kB / 3.473 GB, free: 88.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/7.809, allocations: 16 kB / 3.473 GB, free: 88.33 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005609/7.81, allocations: 0.5169 MB / 3.474 GB, free: 87.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/7.81, allocations: 377.5 kB / 3.474 GB, free: 87.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/7.81, allocations: 11.89 kB / 3.474 GB, free: 87.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/7.81, allocations: 1.031 kB / 3.474 GB, free: 87.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/7.81, allocations: 8 kB / 3.474 GB, free: 87.38 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.7977/8.608, allocations: 229.3 MB / 3.698 GB, free: 24.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.011e-05/8.608, allocations: 48.55 kB / 3.698 GB, free: 24.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/8.608, allocations: 16.48 kB / 3.698 GB, free: 24.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09887/8.707, allocations: 49.65 MB / 3.747 GB, free: 9.184 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/8.707, allocations: 111.8 kB / 3.747 GB, free: 9.066 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 3.476e-06/8.707, allocations: 1.031 kB / 3.747 GB, free: 9.066 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.001754/8.709, allocations: 396.5 kB / 3.747 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/8.709, allocations: 132.5 kB / 3.747 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/8.709, allocations: 231.9 kB / 3.748 GB, free: 8.391 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/8.71, allocations: 25.7 kB / 3.748 GB, free: 8.359 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/8.71, allocations: 253 kB / 3.748 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/8.71, allocations: 40.23 kB / 3.748 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/8.71, allocations: 0 / 3.748 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001119/8.71, allocations: 334.8 kB / 3.748 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.906e-05/8.71, allocations: 70.3 kB / 3.748 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/8.71, allocations: 316.1 kB / 3.749 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000662/8.711, allocations: 149.1 kB / 3.749 GB, free: 7.238 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/8.711, allocations: 4 kB / 3.749 GB, free: 7.234 MB / 0.5573 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001112/8.712, allocations: 423 kB / 3.749 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/8.712, allocations: 8 kB / 3.749 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/8.712, allocations: 16.12 kB / 3.749 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/8.712, allocations: 15.95 kB / 3.749 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/8.713, allocations: 134.8 kB / 3.749 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-05/8.713, allocations: 20.27 kB / 3.749 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000473/8.713, allocations: 53.48 kB / 3.749 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/8.713, allocations: 41.73 kB / 3.749 GB, free: 6.672 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state_h_is.phase,state.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 (58): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/8.713, allocations: 129.7 kB / 3.75 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001986/8.713, allocations: 107.8 kB / 3.75 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/8.714, allocations: 27.39 kB / 3.75 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/8.714, allocations: 278 kB / 3.75 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/8.714, allocations: 4 kB / 3.75 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/8.714, allocations: 3.75 kB / 3.75 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/8.714, allocations: 4 kB / 3.75 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005852/8.714, allocations: 0.6062 MB / 3.751 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/8.715, allocations: 0 / 3.751 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.887e-05/8.715, allocations: 17.58 kB / 3.751 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/8.715, allocations: 4 kB / 3.751 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/8.715, allocations: 4 kB / 3.751 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/8.715, allocations: 5.625 kB / 3.751 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/8.715, allocations: 5.5 kB / 3.751 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/8.715, allocations: 328.3 kB / 3.751 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/8.715, allocations: 152.8 kB / 3.751 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/8.715, allocations: 4 kB / 3.751 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/8.715, allocations: 11.98 kB / 3.751 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/8.715, allocations: 16.14 kB / 3.751 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/8.715, allocations: 8.984 kB / 3.751 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002417/8.716, allocations: 258.7 kB / 3.751 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/8.716, allocations: 0 / 3.751 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00646/8.722, allocations: 1.501 MB / 3.753 GB, free: 3.625 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01137/8.734, allocations: 3.164 MB / 3.756 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000497/8.734, allocations: 195.3 kB / 3.756 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/8.734, allocations: 0 / 3.756 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/8.734, allocations: 26.92 kB / 3.756 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/8.735, allocations: 39.06 kB / 3.756 GB, free: 496 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2807/9.015, allocations: 0.9652 MB / 3.757 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/9.016, allocations: 0.7774 MB / 3.758 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00175/9.017, allocations: 1.026 MB / 3.759 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/9.018, allocations: 124.4 kB / 3.759 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.363e-06/9.018, allocations: 2.312 kB / 3.759 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07543/9.093, allocations: 37.27 MB / 3.795 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/9.093, allocations: 164.5 kB / 3.796 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.19/12.28, allocations: 0 / 3.796 GB, free: 131.2 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat