Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_3_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.002876/0.002877, allocations: 183.8 kB / 15.76 MB, free: 6.367 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.875/1.875, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.00106/0.00106, allocations: 94.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2313/0.2313, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1329, allocations: 58.85 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5603/0.6932, allocations: 219.3 MB / 0.693 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.6936, allocations: 87.83 kB / 0.6931 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.887/2.581, allocations: 0.5145 GB / 1.208 GB, free: 72.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.707e-06/2.581, allocations: 0 / 1.208 GB, free: 72.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001722/2.581, allocations: 35.94 kB / 1.208 GB, free: 72.22 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.007505/2.588, allocations: 2.091 MB / 1.21 GB, free: 70.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.665e-05/2.588, allocations: 16.02 kB / 1.21 GB, free: 70.14 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007048/2.589, allocations: 131.1 kB / 1.21 GB, free: 70 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004656/2.594, allocations: 358.1 kB / 1.21 GB, free: 69.65 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002981/2.597, allocations: 0.864 MB / 1.211 GB, free: 68.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/2.597, allocations: 69.31 kB / 1.211 GB, free: 68.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003915/2.597, allocations: 80 kB / 1.211 GB, free: 68.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003412/2.601, allocations: 1.23 MB / 1.212 GB, free: 67.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/2.601, allocations: 7.938 kB / 1.212 GB, free: 67.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000184/2.601, allocations: 36 kB / 1.212 GB, free: 67.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/2.601, allocations: 27.83 kB / 1.212 GB, free: 67.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002675/2.604, allocations: 1.008 MB / 1.213 GB, free: 66.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006404/2.61, allocations: 5.422 MB / 1.219 GB, free: 60.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/2.612, allocations: 0.6881 MB / 1.219 GB, free: 59.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005735/2.613, allocations: 0.953 MB / 1.22 GB, free: 58.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/2.613, allocations: 43.12 kB / 1.22 GB, free: 58.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008274/2.614, allocations: 134.2 kB / 1.22 GB, free: 58.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 4.849e-06/2.614, allocations: 0 / 1.22 GB, free: 58.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65): time 0.00614/2.62, allocations: 1.73 MB / 1.222 GB, free: 56.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/2.62, allocations: 188.5 kB / 1.222 GB, free: 56.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/2.621, allocations: 0.839 MB / 1.223 GB, free: 55.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/2.621, allocations: 41.7 kB / 1.223 GB, free: 55.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/2.622, allocations: 0.5023 MB / 1.224 GB, free: 55.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/2.622, allocations: 221.2 kB / 1.224 GB, free: 54.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/2.622, allocations: 16 kB / 1.224 GB, free: 54.87 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.977e-05/2.622, allocations: 341.9 kB / 1.224 GB, free: 54.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000697/2.623, allocations: 365.8 kB / 1.225 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007698/2.623, allocations: 0.5536 MB / 1.225 GB, free: 53.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000754/2.624, allocations: 419 kB / 1.225 GB, free: 53.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/2.624, allocations: 0 / 1.225 GB, free: 53.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002281/2.626, allocations: 1.18 MB / 1.227 GB, free: 51.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004937/2.627, allocations: 1.847 MB / 1.228 GB, free: 49.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/2.627, allocations: 4 kB / 1.228 GB, free: 49.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005838/2.633, allocations: 0.8051 MB / 1.229 GB, free: 49.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/2.634, allocations: 255.6 kB / 1.229 GB, free: 48.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008709/2.635, allocations: 0.7871 MB / 1.23 GB, free: 48.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/2.636, allocations: 87.92 kB / 1.23 GB, free: 48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/2.637, allocations: 72.8 kB / 1.23 GB, free: 47.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/2.637, allocations: 4 kB / 1.23 GB, free: 47.93 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002275/2.639, allocations: 0.9997 MB / 1.231 GB, free: 46.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/2.639, allocations: 7.984 kB / 1.231 GB, free: 46.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/2.639, allocations: 76.95 kB / 1.231 GB, free: 46.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008871/2.64, allocations: 275.6 kB / 1.232 GB, free: 46.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/2.642, allocations: 1.675 MB / 1.233 GB, free: 44.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/2.643, allocations: 80 kB / 1.233 GB, free: 44.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/2.643, allocations: 67.34 kB / 1.233 GB, free: 44.63 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.0005906/2.643, allocations: 318.7 kB / 1.234 GB, free: 44.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/2.644, allocations: 122.5 kB / 1.234 GB, free: 44.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003976/2.648, allocations: 2.418 MB / 1.236 GB, free: 41.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/2.648, allocations: 8 kB / 1.236 GB, free: 41.72 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/2.648, allocations: 4 kB / 1.236 GB, free: 41.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/2.648, allocations: 7.984 kB / 1.236 GB, free: 41.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/2.651, allocations: 2.022 MB / 1.238 GB, free: 39.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/2.651, allocations: 4 kB / 1.238 GB, free: 39.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004426/2.652, allocations: 148.2 kB / 1.238 GB, free: 39.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002924/2.654, allocations: 0.616 MB / 1.239 GB, free: 38.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.008e-05/2.655, allocations: 31.98 kB / 1.239 GB, free: 38.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000658/2.655, allocations: 0.8099 MB / 1.24 GB, free: 37.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/2.655, allocations: 7.938 kB / 1.24 GB, free: 37.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/2.657, allocations: 1.323 MB / 1.241 GB, free: 36.53 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007935/2.658, allocations: 343.3 kB / 1.241 GB, free: 36.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003333/2.658, allocations: 23.95 kB / 1.241 GB, free: 36.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009744/2.659, allocations: 75.92 kB / 1.242 GB, free: 36.08 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/2.659, allocations: 64.42 kB / 1.242 GB, free: 36.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-05/2.66, allocations: 47.97 kB / 1.242 GB, free: 35.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001001/2.661, allocations: 0.7136 MB / 1.242 GB, free: 35.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/2.661, allocations: 4 kB / 1.242 GB, free: 35.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003904/2.665, allocations: 1.041 MB / 1.243 GB, free: 34.21 MB / 0.4948 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.005242/2.67, allocations: 3.424 MB / 1.247 GB, free: 30.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002993/2.673, allocations: 1.512 MB / 1.248 GB, free: 29.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/2.673, allocations: 4 kB / 1.248 GB, free: 29.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007628/2.674, allocations: 434.8 kB / 1.249 GB, free: 28.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/2.676, allocations: 0.5162 MB / 1.249 GB, free: 28.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005642/2.682, allocations: 6.363 MB / 1.255 GB, free: 21.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/2.682, allocations: 1.099 MB / 1.256 GB, free: 20.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00206/2.684, allocations: 0.8015 MB / 1.257 GB, free: 19.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006134/2.685, allocations: 459 kB / 1.258 GB, free: 19.41 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/2.685, allocations: 0 / 1.258 GB, free: 19.41 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3383/3.023, allocations: 38.96 MB / 1.296 GB, free: 84.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/3.023, allocations: 273.8 kB / 1.296 GB, free: 83.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.239/6.262, allocations: 7.75 kB / 1.296 GB, free: 83.92 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat