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.001309/0.001309, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007698/0.0007697, allocations: 89.95 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1795/0.1795, allocations: 45.13 MB / 389.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.941e-05, allocations: 4 kB / 460.5 MB, free: 69.89 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09557/0.09562, allocations: 63.25 MB / 0.5115 GB, free: 6.664 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.558/5.653, allocations: 2.758 GB / 3.27 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/5.654, allocations: 83.89 kB / 3.27 GB, free: 100.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7276/6.381, allocations: 217.4 MB / 3.482 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.082e-06/6.381, allocations: 0 / 3.482 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.489e-05/6.381, allocations: 4 kB / 3.482 GB, free: 107.4 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.00629/6.388, allocations: 1.766 MB / 3.484 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/6.388, allocations: 11.97 kB / 3.484 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.835e-05/6.388, allocations: 74.47 kB / 3.484 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/6.389, allocations: 231.2 kB / 3.484 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/6.39, allocations: 285.6 kB / 3.484 GB, free: 105 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/6.39, allocations: 28.72 kB / 3.484 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/6.39, allocations: 28 kB / 3.484 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/6.392, allocations: 0.8501 MB / 3.485 GB, free: 104 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/6.392, allocations: 4 kB / 3.485 GB, free: 104 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/6.392, allocations: 15.95 kB / 3.485 GB, free: 104 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/6.392, allocations: 8 kB / 3.485 GB, free: 104 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/6.394, allocations: 0.957 MB / 3.486 GB, free: 103 MB / 0.5417 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.002953/6.396, allocations: 2.788 MB / 3.489 GB, free: 100 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/6.398, allocations: 422 kB / 3.489 GB, free: 99.62 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/6.398, allocations: 72.84 kB / 3.489 GB, free: 99.54 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7192/7.117, allocations: 238.6 MB / 3.722 GB, free: 40.65 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/7.118, allocations: 0.5062 MB / 3.723 GB, free: 40.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 2.464e-06/7.118, allocations: 0 / 3.723 GB, free: 40.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.002586/7.121, allocations: 0.7974 MB / 3.724 GB, free: 39.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/7.121, allocations: 366.6 kB / 3.724 GB, free: 39.46 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/7.121, allocations: 166.2 kB / 3.724 GB, free: 39.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/7.121, allocations: 32.2 kB / 3.724 GB, free: 39.29 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/7.121, allocations: 189.5 kB / 3.724 GB, free: 39.14 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.127e-05/7.121, allocations: 109.5 kB / 3.725 GB, free: 39.07 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/7.121, allocations: 12.25 kB / 3.725 GB, free: 39.07 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.619e-05/7.121, allocations: 331.9 kB / 3.725 GB, free: 38.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/7.121, allocations: 75.5 kB / 3.725 GB, free: 38.71 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/7.122, allocations: 326.1 kB / 3.725 GB, free: 38.31 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/7.122, allocations: 118.1 kB / 3.725 GB, free: 38.24 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/7.122, allocations: 8 kB / 3.725 GB, free: 38.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006577/7.123, allocations: 449.2 kB / 3.726 GB, free: 37.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/7.123, allocations: 9.594 kB / 3.726 GB, free: 37.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/7.123, allocations: 8 kB / 3.726 GB, free: 37.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/7.123, allocations: 20 kB / 3.726 GB, free: 37.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/7.123, allocations: 133.9 kB / 3.726 GB, free: 37.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/7.123, allocations: 25.28 kB / 3.726 GB, free: 37.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/7.123, allocations: 53.03 kB / 3.726 GB, free: 37.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/7.123, allocations: 43.88 kB / 3.726 GB, free: 37.77 MB / 0.5417 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 () * 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 9.676e-05/7.124, allocations: 143 kB / 3.726 GB, free: 37.64 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/7.124, allocations: 30.27 kB / 3.726 GB, free: 37.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/7.125, allocations: 1.764 MB / 3.728 GB, free: 36.64 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/7.125, allocations: 17.7 kB / 3.728 GB, free: 36.63 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/7.125, allocations: 4.844 kB / 3.728 GB, free: 36.63 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/7.125, allocations: 7.953 kB / 3.728 GB, free: 36.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008089/7.126, allocations: 0.8953 MB / 3.729 GB, free: 36.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/7.126, allocations: 7.609 kB / 3.729 GB, free: 36.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/7.126, allocations: 80.22 kB / 3.729 GB, free: 36.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/7.126, allocations: 11.69 kB / 3.729 GB, free: 36.02 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/7.126, allocations: 20.73 kB / 3.729 GB, free: 36.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/7.126, allocations: 4 kB / 3.729 GB, free: 36.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/7.126, allocations: 4 kB / 3.729 GB, free: 36 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000677/7.127, allocations: 0.8271 MB / 3.73 GB, free: 35.27 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/7.127, allocations: 338.1 kB / 3.73 GB, free: 35.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.668e-05/7.127, allocations: 14.06 kB / 3.73 GB, free: 35.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/7.127, allocations: 18.14 kB / 3.73 GB, free: 35.05 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/7.128, allocations: 49.44 kB / 3.73 GB, free: 35.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/7.128, allocations: 25.56 kB / 3.73 GB, free: 35.01 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003589/7.128, allocations: 424.7 kB / 3.731 GB, free: 34.71 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.1e-07/7.128, allocations: 0 / 3.731 GB, free: 34.71 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005939/7.134, allocations: 1.53 MB / 3.732 GB, free: 33.52 MB / 0.5417 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 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$whenCondition1,medium.phase) * Number of discrete 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.01065/7.145, allocations: 3.99 MB / 3.736 GB, free: 30.02 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006182/7.145, allocations: 392.1 kB / 3.736 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/7.145, allocations: 4 kB / 3.736 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003024/7.146, allocations: 272 kB / 3.737 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007437/7.146, allocations: 122.8 kB / 3.737 GB, free: 29.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.883/9.029, allocations: 0.759 GB / 4.496 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/9.029, allocations: 0.9664 MB / 4.497 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00125/9.031, allocations: 1.076 MB / 4.498 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/9.031, allocations: 286 kB / 4.498 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of SimCode: time 9.12e-07/9.031, allocations: 0 / 4.498 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06475/9.096, allocations: 46.52 MB / 4.543 GB, free: 78.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/9.096, allocations: 193.8 kB / 4.544 GB, free: 78.73 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.226/12.32, allocations: 0 / 4.544 GB, free: 78.73 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