Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00221/0.00221, allocations: 185.4 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 93.28 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.506/0.506, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.000471, allocations: 12 kB / 431.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1301, allocations: 58.84 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.14, allocations: 219.3 MB / 0.693 GB, free: 114.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/1.14, allocations: 87.69 kB / 0.6931 GB, free: 114.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.636/3.777, allocations: 0.5145 GB / 1.208 GB, free: 30.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.435e-06/3.777, allocations: 4 kB / 1.208 GB, free: 30.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001437/3.777, allocations: 31.53 kB / 1.208 GB, free: 30.5 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.008335/3.785, allocations: 2.096 MB / 1.21 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/3.785, allocations: 12.02 kB / 1.21 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006419/3.786, allocations: 135.1 kB / 1.21 GB, free: 28.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005195/3.791, allocations: 365.6 kB / 1.21 GB, free: 27.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/3.794, allocations: 0.8688 MB / 1.211 GB, free: 27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.369e-05/3.794, allocations: 62 kB / 1.211 GB, free: 26.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/3.795, allocations: 84 kB / 1.211 GB, free: 26.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004811/3.8, allocations: 1.231 MB / 1.212 GB, free: 25.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/3.8, allocations: 3.938 kB / 1.212 GB, free: 25.53 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002306/3.8, allocations: 40 kB / 1.212 GB, free: 25.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/3.8, allocations: 24 kB / 1.212 GB, free: 25.47 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004956/3.805, allocations: 1.011 MB / 1.213 GB, free: 24.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01021/3.815, allocations: 5.421 MB / 1.219 GB, free: 18.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003412/3.819, allocations: 0.6865 MB / 1.219 GB, free: 17.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008651/3.82, allocations: 0.9503 MB / 1.22 GB, free: 16.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/3.82, allocations: 43.12 kB / 1.22 GB, free: 16.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001312/3.821, allocations: 131 kB / 1.22 GB, free: 16.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 4.869e-06/3.821, allocations: 0 / 1.22 GB, free: 16.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65): time 0.01172/3.833, allocations: 1.737 MB / 1.222 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.222e-05/3.833, allocations: 192.5 kB / 1.222 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/3.835, allocations: 0.8312 MB / 1.223 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003132/3.835, allocations: 41.7 kB / 1.223 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/3.835, allocations: 0.4894 MB / 1.224 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/3.836, allocations: 230.3 kB / 1.224 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/3.836, allocations: 16 kB / 1.224 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.398e-05/3.836, allocations: 338.8 kB / 1.224 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/3.837, allocations: 361.8 kB / 1.225 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/3.839, allocations: 0.5553 MB / 1.225 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/3.841, allocations: 423 kB / 1.225 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/3.841, allocations: 4 kB / 1.225 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.004281/3.845, allocations: 1.107 MB / 1.227 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004034/3.846, allocations: 1.832 MB / 1.228 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/3.846, allocations: 7.938 kB / 1.228 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01035/3.856, allocations: 0.8159 MB / 1.229 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/3.858, allocations: 263.6 kB / 1.229 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/3.859, allocations: 0.7851 MB / 1.23 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/3.862, allocations: 91.78 kB / 1.23 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003574/3.862, allocations: 71.95 kB / 1.23 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/3.862, allocations: 4 kB / 1.23 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003947/3.866, allocations: 0.9959 MB / 1.231 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/3.866, allocations: 4 kB / 1.231 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003974/3.866, allocations: 76.8 kB / 1.231 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/3.868, allocations: 272 kB / 1.232 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/3.871, allocations: 1.649 MB / 1.233 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/3.872, allocations: 87.91 kB / 1.233 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/3.872, allocations: 59.97 kB / 1.233 GB, free: 2.852 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008391/3.873, allocations: 320.9 kB / 1.234 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004027/3.874, allocations: 118.6 kB / 1.234 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00751/3.881, allocations: 2.427 MB / 1.236 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/3.881, allocations: 8 kB / 1.236 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/3.881, allocations: 0 / 1.236 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/3.881, allocations: 3.984 kB / 1.236 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006533/3.888, allocations: 2.016 MB / 1.238 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/3.888, allocations: 4 kB / 1.238 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/3.889, allocations: 144.1 kB / 1.238 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005628/3.895, allocations: 0.6228 MB / 1.239 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002146/3.895, allocations: 31.97 kB / 1.239 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/3.896, allocations: 0.8137 MB / 1.24 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/3.896, allocations: 11.94 kB / 1.24 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004511/3.901, allocations: 1.307 MB / 1.241 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/3.902, allocations: 355.1 kB / 1.241 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004099/3.903, allocations: 24 kB / 1.241 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/3.904, allocations: 71.94 kB / 1.241 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/3.905, allocations: 76.36 kB / 1.242 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/3.905, allocations: 47.97 kB / 1.242 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001767/3.907, allocations: 0.7174 MB / 1.242 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/3.907, allocations: 0 / 1.242 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005403/3.912, allocations: 1.038 MB / 1.243 GB, free: 8.398 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.009059/3.921, allocations: 3.403 MB / 1.247 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006445/3.928, allocations: 1.508 MB / 1.248 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/3.928, allocations: 0 / 1.248 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001892/3.93, allocations: 442.8 kB / 1.248 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005082/3.935, allocations: 0.5134 MB / 1.249 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3986/4.333, allocations: 6.398 MB / 1.255 GB, free: 67.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009039/4.334, allocations: 1.098 MB / 1.256 GB, free: 66.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/4.336, allocations: 474.6 kB / 1.257 GB, free: 66.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.172e-06/4.336, allocations: 0 / 1.257 GB, free: 66.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.779/8.115, allocations: 33.01 MB / 1.289 GB, free: 66.16 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat