Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 178.2 kB / 17.06 MB, free: 5.094 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.475/1.475, allocations: 223.2 MB / 241 MB, free: 11.88 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.00113/0.00113, allocations: 98.73 kB / 292.1 MB, free: 10.91 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.4925/0.4925, allocations: 44.21 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005144/0.0005144, allocations: 8 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4443, allocations: 61.9 MB / 0.5096 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.204/7.649, allocations: 2.755 GB / 3.265 GB, free: 93.43 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/7.649, allocations: 87.92 kB / 3.265 GB, free: 93.35 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8924/8.541, allocations: 217.6 MB / 3.478 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.427e-06/8.541, allocations: 0 / 3.478 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.013e-05/8.541, allocations: 4 kB / 3.478 GB, free: 86.8 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.008437/8.55, allocations: 1.755 MB / 3.479 GB, free: 85.15 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/8.55, allocations: 8.031 kB / 3.479 GB, free: 85.14 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001638/8.55, allocations: 70.3 kB / 3.48 GB, free: 85.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/8.552, allocations: 183.3 kB / 3.48 GB, free: 84.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/8.552, allocations: 276.2 kB / 3.48 GB, free: 84.67 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/8.552, allocations: 20.66 kB / 3.48 GB, free: 84.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.17e-05/8.552, allocations: 28 kB / 3.48 GB, free: 84.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/8.555, allocations: 0.7462 MB / 3.481 GB, free: 84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/8.555, allocations: 4 kB / 3.481 GB, free: 84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.749e-05/8.555, allocations: 16 kB / 3.481 GB, free: 83.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/8.555, allocations: 12 kB / 3.481 GB, free: 83.97 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/8.557, allocations: 0.7966 MB / 3.482 GB, free: 83.37 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.003968/8.561, allocations: 2.916 MB / 3.484 GB, free: 80.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/8.562, allocations: 341.5 kB / 3.485 GB, free: 80.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6898/9.252, allocations: 139.8 MB / 3.621 GB, free: 64.59 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/9.253, allocations: 441.1 kB / 3.622 GB, free: 64.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/9.253, allocations: 0 / 3.622 GB, free: 64.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.003556/9.257, allocations: 1.102 MB / 3.623 GB, free: 64.19 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/9.257, allocations: 376.1 kB / 3.623 GB, free: 63.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/9.257, allocations: 167.5 kB / 3.623 GB, free: 63.65 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/9.257, allocations: 29.27 kB / 3.623 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/9.257, allocations: 184 kB / 3.623 GB, free: 63.49 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.364e-05/9.257, allocations: 112.5 kB / 3.624 GB, free: 63.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/9.257, allocations: 7.875 kB / 3.624 GB, free: 63.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.248e-05/9.257, allocations: 333.2 kB / 3.624 GB, free: 63.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/9.257, allocations: 84.25 kB / 3.624 GB, free: 63.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/9.258, allocations: 337.7 kB / 3.624 GB, free: 62.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/9.258, allocations: 133.4 kB / 3.624 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/9.258, allocations: 2.375 kB / 3.624 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006528/9.258, allocations: 462.9 kB / 3.625 GB, free: 62.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/9.258, allocations: 16.7 kB / 3.625 GB, free: 62.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/9.258, allocations: 11.72 kB / 3.625 GB, free: 62.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/9.259, allocations: 16.31 kB / 3.625 GB, free: 62.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/9.26, allocations: 200.8 kB / 3.625 GB, free: 62.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003731/9.26, allocations: 1.18 MB / 3.626 GB, free: 61.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/9.261, allocations: 33.89 kB / 3.626 GB, free: 61.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/9.261, allocations: 39.97 kB / 3.626 GB, free: 61.5 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001628/9.261, allocations: 163.4 kB / 3.626 GB, free: 61.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/9.261, allocations: 22.97 kB / 3.626 GB, free: 61.37 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/9.263, allocations: 2.836 MB / 3.629 GB, free: 61.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/9.264, allocations: 21.47 kB / 3.629 GB, free: 61.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/9.264, allocations: 3.75 kB / 3.629 GB, free: 61.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/9.264, allocations: 6.406 kB / 3.629 GB, free: 61.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008888/9.264, allocations: 0.9677 MB / 3.63 GB, free: 60.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/9.264, allocations: 7.219 kB / 3.63 GB, free: 60.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006101/9.265, allocations: 100.6 kB / 3.63 GB, free: 60.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000228/9.265, allocations: 166 kB / 3.63 GB, free: 60.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/9.265, allocations: 12.28 kB / 3.63 GB, free: 60.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002717/9.266, allocations: 0.6379 MB / 3.631 GB, free: 60.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/9.266, allocations: 3.406 kB / 3.631 GB, free: 60.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009777/9.267, allocations: 1.104 MB / 3.632 GB, free: 59.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/9.267, allocations: 357.6 kB / 3.633 GB, free: 59.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.323e-05/9.267, allocations: 8.5 kB / 3.633 GB, free: 59.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/9.267, allocations: 28.66 kB / 3.633 GB, free: 59.58 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/9.267, allocations: 36.7 kB / 3.633 GB, free: 59.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/9.267, allocations: 14.88 kB / 3.633 GB, free: 59.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004447/9.268, allocations: 463.9 kB / 3.633 GB, free: 59.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/9.268, allocations: 0 / 3.633 GB, free: 59.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007625/9.276, allocations: 1.634 MB / 3.635 GB, free: 59.43 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * 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: 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.01333/9.289, allocations: 4.265 MB / 3.639 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001621/9.291, allocations: 0.5203 MB / 3.639 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/9.291, allocations: 0 / 3.639 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004306/9.291, allocations: 357 kB / 3.64 GB, free: 57.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007807/9.292, allocations: 130 kB / 3.64 GB, free: 57.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.812/11.1, allocations: 0.5741 GB / 4.214 GB, free: 92.77 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008462/11.1, allocations: 1.004 MB / 4.215 GB, free: 92.07 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001303/11.11, allocations: 496.3 kB / 4.215 GB, free: 92.06 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004715/11.11, allocations: 311.5 kB / 4.216 GB, free: 92.05 MB / 0.5417 GB Notification: Performance of SimCode: time 3.857e-06/11.11, allocations: 4.531 kB / 4.216 GB, free: 92.05 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/11.21, allocations: 48.62 MB / 4.263 GB, free: 91.03 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/11.21, allocations: 236 kB / 4.263 GB, free: 90.79 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.237/15.45, allocations: 4 kB / 4.263 GB, free: 90.79 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat