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.001613/0.001613, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.576/1.576, allocations: 227.2 MB / 245 MB, free: 7.668 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009415/0.0009416, allocations: 110.7 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4088/0.4088, allocations: 45.23 MB / 394.6 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003106, allocations: 11.98 kB / 468.5 MB, free: 7.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4417, allocations: 63.25 MB / 0.5193 GB, free: 43.43 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.752/8.194, allocations: 2.758 GB / 3.277 GB, free: 145 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/8.194, allocations: 88.3 kB / 3.278 GB, free: 145 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.891/9.085, allocations: 217.8 MB / 3.49 GB, free: 91.56 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.876e-06/9.085, allocations: 0.6562 kB / 3.49 GB, free: 91.56 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.194e-05/9.085, allocations: 3.5 kB / 3.49 GB, free: 91.56 MB / 0.5417 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.009798/9.095, allocations: 1.773 MB / 3.492 GB, free: 90.61 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/9.095, allocations: 8.781 kB / 3.492 GB, free: 90.61 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/9.095, allocations: 70.3 kB / 3.492 GB, free: 90.57 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/9.097, allocations: 233.3 kB / 3.492 GB, free: 90.55 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/9.098, allocations: 272.4 kB / 3.493 GB, free: 90.34 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/9.098, allocations: 23.78 kB / 3.493 GB, free: 90.34 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/9.098, allocations: 29.09 kB / 3.493 GB, free: 90.34 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/9.1, allocations: 0.8042 MB / 3.493 GB, free: 90.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/9.1, allocations: 4.156 kB / 3.493 GB, free: 90.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/9.1, allocations: 21.48 kB / 3.493 GB, free: 90.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/9.1, allocations: 8.281 kB / 3.493 GB, free: 90.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/9.103, allocations: 0.92 MB / 3.494 GB, free: 90.19 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003963/9.107, allocations: 2.805 MB / 3.497 GB, free: 88.31 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/9.108, allocations: 366.1 kB / 3.497 GB, free: 88.29 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9577/10.07, allocations: 237 MB / 3.729 GB, free: 68.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001853/10.07, allocations: 461.3 kB / 3.729 GB, free: 68.79 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 4.419e-06/10.07, allocations: 1.5 kB / 3.729 GB, free: 68.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32): time 0.003858/10.07, allocations: 0.7708 MB / 3.73 GB, free: 68.76 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002066/10.07, allocations: 375.8 kB / 3.73 GB, free: 68.32 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/10.07, allocations: 168.9 kB / 3.731 GB, free: 68.22 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.549e-05/10.07, allocations: 34.2 kB / 3.731 GB, free: 68.19 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/10.07, allocations: 185.4 kB / 3.731 GB, free: 68.05 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/10.07, allocations: 111.4 kB / 3.731 GB, free: 68 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/10.07, allocations: 12.31 kB / 3.731 GB, free: 68 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001382/10.07, allocations: 326.9 kB / 3.731 GB, free: 67.69 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/10.07, allocations: 81.5 kB / 3.731 GB, free: 67.68 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003239/10.07, allocations: 338.7 kB / 3.732 GB, free: 67.35 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/10.07, allocations: 126.5 kB / 3.732 GB, free: 67.34 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/10.07, allocations: 4.516 kB / 3.732 GB, free: 67.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001099/10.07, allocations: 459.3 kB / 3.732 GB, free: 67.29 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/10.07, allocations: 18.27 kB / 3.732 GB, free: 67.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/10.07, allocations: 7.844 kB / 3.732 GB, free: 67.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.26e-05/10.07, allocations: 15.53 kB / 3.732 GB, free: 67.29 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/10.08, allocations: 135.9 kB / 3.732 GB, free: 67.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.811e-05/10.08, allocations: 16.31 kB / 3.732 GB, free: 67.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/10.08, allocations: 46.33 kB / 3.732 GB, free: 67.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-05/10.08, allocations: 47.39 kB / 3.732 GB, free: 67.27 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,medium.phase,state_h_is.phase,state.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked 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.0002625/10.08, allocations: 156.6 kB / 3.733 GB, free: 67.16 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/10.08, allocations: 32.75 kB / 3.733 GB, free: 67.14 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003313/10.08, allocations: 2.501 MB / 3.735 GB, free: 66.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.474e-05/10.08, allocations: 26.66 kB / 3.735 GB, free: 66.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/10.08, allocations: 3.938 kB / 3.735 GB, free: 66.84 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/10.08, allocations: 0 / 3.735 GB, free: 66.84 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/10.08, allocations: 0.9286 MB / 3.736 GB, free: 66.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/10.08, allocations: 3.938 kB / 3.736 GB, free: 66.56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003508/10.08, allocations: 77.27 kB / 3.736 GB, free: 66.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.179e-05/10.08, allocations: 11.58 kB / 3.736 GB, free: 66.55 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/10.08, allocations: 10.27 kB / 3.736 GB, free: 66.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/10.08, allocations: 6.531 kB / 3.736 GB, free: 66.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/10.08, allocations: 3.906 kB / 3.736 GB, free: 66.55 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/10.08, allocations: 0.8354 MB / 3.737 GB, free: 66.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006108/10.08, allocations: 388 kB / 3.737 GB, free: 65.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/10.08, allocations: 20.44 kB / 3.737 GB, free: 65.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/10.08, allocations: 21.3 kB / 3.737 GB, free: 65.89 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/10.08, allocations: 21.34 kB / 3.737 GB, free: 65.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/10.08, allocations: 19.02 kB / 3.737 GB, free: 65.89 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006324/10.09, allocations: 0.5025 MB / 3.738 GB, free: 65.78 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/10.09, allocations: 4 kB / 3.738 GB, free: 65.77 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008766/10.09, allocations: 1.535 MB / 3.739 GB, free: 65.68 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.01581/10.11, allocations: 4.011 MB / 3.743 GB, free: 63.62 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001179/10.11, allocations: 402.4 kB / 3.744 GB, free: 63.59 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/10.11, allocations: 4.062 kB / 3.744 GB, free: 63.58 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004876/10.11, allocations: 274.2 kB / 3.744 GB, free: 63.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/10.11, allocations: 129.9 kB / 3.744 GB, free: 63.56 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.53/13.64, allocations: 0.9722 GB / 4.716 GB, free: 91.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/13.64, allocations: 1.007 MB / 4.717 GB, free: 90.37 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001087/13.65, allocations: 472 kB / 4.718 GB, free: 90.36 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006791/13.65, allocations: 316.3 kB / 4.718 GB, free: 90.35 MB / 0.5573 GB Notification: Performance of SimCode: time 1.493e-06/13.65, allocations: 0 / 4.718 GB, free: 90.35 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/13.75, allocations: 46.15 MB / 4.763 GB, free: 89.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/13.75, allocations: 209.7 kB / 4.763 GB, free: 89.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.824/17.58, allocations: 0 / 4.763 GB, free: 89.54 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