Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 241 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008363/0.0008362, allocations: 83.72 kB / 292.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3377/0.3377, allocations: 44.22 MB / 387.5 MB, free: 38.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.0003059, allocations: 12 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4484, allocations: 61.91 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.173/7.622, allocations: 2.757 GB / 3.267 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/7.622, allocations: 88.72 kB / 3.267 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.822/8.444, allocations: 218.1 MB / 3.48 GB, free: 90.76 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.224e-06/8.444, allocations: 0 / 3.48 GB, free: 90.76 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.557e-05/8.444, allocations: 3.906 kB / 3.48 GB, free: 90.76 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.007926/8.452, allocations: 1.762 MB / 3.482 GB, free: 89.74 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/8.452, allocations: 7.688 kB / 3.482 GB, free: 89.74 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/8.452, allocations: 79.67 kB / 3.482 GB, free: 89.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/8.454, allocations: 219.2 kB / 3.482 GB, free: 89.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/8.454, allocations: 276.9 kB / 3.482 GB, free: 89.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.882e-05/8.454, allocations: 26.11 kB / 3.482 GB, free: 89.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.699e-05/8.455, allocations: 31.59 kB / 3.482 GB, free: 89.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/8.457, allocations: 0.8078 MB / 3.483 GB, free: 88.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/8.457, allocations: 3.938 kB / 3.483 GB, free: 88.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.103e-05/8.457, allocations: 16 kB / 3.483 GB, free: 88.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/8.457, allocations: 8 kB / 3.483 GB, free: 88.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/8.459, allocations: 0.9215 MB / 3.484 GB, free: 88.01 MB / 0.5261 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.004053/8.463, allocations: 2.778 MB / 3.487 GB, free: 85.33 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/8.465, allocations: 374.2 kB / 3.487 GB, free: 85.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9427/9.407, allocations: 223.3 MB / 3.705 GB, free: 46.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001925/9.409, allocations: 473.8 kB / 3.706 GB, free: 46.38 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 3.897e-06/9.409, allocations: 0 / 3.706 GB, free: 46.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.003984/9.413, allocations: 0.7595 MB / 3.706 GB, free: 45.96 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002666/9.414, allocations: 385.9 kB / 3.707 GB, free: 45.51 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/9.414, allocations: 162.8 kB / 3.707 GB, free: 45.38 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/9.414, allocations: 32.89 kB / 3.707 GB, free: 45.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/9.414, allocations: 183 kB / 3.707 GB, free: 45.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/9.414, allocations: 113.2 kB / 3.707 GB, free: 45.13 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/9.414, allocations: 6 kB / 3.707 GB, free: 45.13 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001828/9.415, allocations: 332.1 kB / 3.707 GB, free: 44.82 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/9.415, allocations: 83.25 kB / 3.708 GB, free: 44.77 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/9.415, allocations: 338.9 kB / 3.708 GB, free: 44.37 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/9.416, allocations: 130.2 kB / 3.708 GB, free: 44.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/9.416, allocations: 4 kB / 3.708 GB, free: 44.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00125/9.417, allocations: 453.6 kB / 3.708 GB, free: 44.01 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/9.417, allocations: 8 kB / 3.708 GB, free: 44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/9.417, allocations: 16.12 kB / 3.708 GB, free: 43.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/9.417, allocations: 12 kB / 3.708 GB, free: 43.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006363/9.418, allocations: 145 kB / 3.709 GB, free: 43.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-05/9.418, allocations: 19.45 kB / 3.709 GB, free: 43.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005598/9.418, allocations: 55.55 kB / 3.709 GB, free: 43.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-05/9.418, allocations: 44.67 kB / 3.709 GB, free: 43.79 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 () * 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.0002768/9.419, allocations: 163.9 kB / 3.709 GB, free: 43.65 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/9.419, allocations: 31.14 kB / 3.709 GB, free: 43.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003526/9.422, allocations: 2.491 MB / 3.711 GB, free: 42.29 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/9.422, allocations: 25.23 kB / 3.711 GB, free: 42.28 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/9.423, allocations: 4 kB / 3.711 GB, free: 42.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/9.423, allocations: 7.797 kB / 3.711 GB, free: 42.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/9.424, allocations: 0.9301 MB / 3.712 GB, free: 41.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/9.424, allocations: 4 kB / 3.712 GB, free: 41.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/9.425, allocations: 75.14 kB / 3.712 GB, free: 41.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/9.425, allocations: 4 kB / 3.712 GB, free: 41.66 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/9.425, allocations: 10.88 kB / 3.712 GB, free: 41.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/9.425, allocations: 7.938 kB / 3.712 GB, free: 41.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/9.425, allocations: 4 kB / 3.712 GB, free: 41.64 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/9.426, allocations: 0.8266 MB / 3.713 GB, free: 40.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005623/9.427, allocations: 387.6 kB / 3.714 GB, free: 40.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/9.427, allocations: 14.19 kB / 3.714 GB, free: 40.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/9.427, allocations: 22.33 kB / 3.714 GB, free: 40.67 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/9.427, allocations: 45.64 kB / 3.714 GB, free: 40.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/9.427, allocations: 12 kB / 3.714 GB, free: 40.63 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0007883/9.428, allocations: 0.4912 MB / 3.714 GB, free: 40.31 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/9.428, allocations: 4 kB / 3.714 GB, free: 40.31 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009463/9.438, allocations: 1.533 MB / 3.716 GB, free: 39.09 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 ($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.01701/9.455, allocations: 3.983 MB / 3.72 GB, free: 35.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001228/9.456, allocations: 408.8 kB / 3.72 GB, free: 35.36 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/9.456, allocations: 8.188 kB / 3.72 GB, free: 35.35 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004372/9.456, allocations: 276.2 kB / 3.72 GB, free: 35.16 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009744/9.457, allocations: 120.2 kB / 3.72 GB, free: 35.07 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.282/12.74, allocations: 0.9696 GB / 4.69 GB, free: 76.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006967/12.74, allocations: 0.9998 MB / 4.691 GB, free: 75.33 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001054/12.74, allocations: 479.6 kB / 4.691 GB, free: 75.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005209/12.74, allocations: 317.7 kB / 4.692 GB, free: 75.05 MB / 0.5417 GB Notification: Performance of SimCode: time 1.884e-06/12.74, allocations: 0 / 4.692 GB, free: 75.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1028/12.85, allocations: 46.05 MB / 4.737 GB, free: 44.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/12.85, allocations: 211.3 kB / 4.737 GB, free: 43.95 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.058/16.9, allocations: 3.609 kB / 4.737 GB, free: 43.95 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat