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.001693/0.001693, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.933/1.933, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009621/0.0009623, allocations: 85.86 kB / 267 MB, free: 9.289 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.4435/0.4435, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.1e-05/5.11e-05, allocations: 8 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1504, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6074/0.7579, allocations: 219.2 MB / 0.687 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.7582, allocations: 85.02 kB / 0.6871 GB, free: 3.738 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.273/3.031, allocations: 0.5133 GB / 1.2 GB, free: 65.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.317e-06/3.031, allocations: 0 / 1.2 GB, free: 65.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000109/3.032, allocations: 38.58 kB / 1.2 GB, free: 65.7 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.007324/3.039, allocations: 1.944 MB / 1.202 GB, free: 64.28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/3.039, allocations: 10.66 kB / 1.202 GB, free: 64.28 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002809/3.039, allocations: 128.3 kB / 1.202 GB, free: 64.17 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005731/3.045, allocations: 357.9 kB / 1.203 GB, free: 64.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00287/3.048, allocations: 0.8578 MB / 1.204 GB, free: 63.28 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.581e-05/3.048, allocations: 73.12 kB / 1.204 GB, free: 63.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/3.048, allocations: 79.94 kB / 1.204 GB, free: 63.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003811/3.052, allocations: 1.142 MB / 1.205 GB, free: 61.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/3.052, allocations: 3.938 kB / 1.205 GB, free: 61.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/3.052, allocations: 40 kB / 1.205 GB, free: 61.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/3.052, allocations: 24 kB / 1.205 GB, free: 61.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003028/3.055, allocations: 0.8276 MB / 1.206 GB, free: 61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008077/3.063, allocations: 5.425 MB / 1.211 GB, free: 55.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/3.066, allocations: 0.5268 MB / 1.212 GB, free: 54.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005779/3.066, allocations: 278.5 kB / 1.212 GB, free: 54.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007009/3.067, allocations: 0.9609 MB / 1.213 GB, free: 53.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/3.067, allocations: 47.12 kB / 1.213 GB, free: 53.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001023/3.068, allocations: 127 kB / 1.213 GB, free: 53.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 4.058e-06/3.068, allocations: 0 / 1.213 GB, free: 53.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65): time 0.004928/3.073, allocations: 0.9199 MB / 1.214 GB, free: 52.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/3.073, allocations: 192.4 kB / 1.214 GB, free: 51.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/3.075, allocations: 0.8284 MB / 1.215 GB, free: 51.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/3.075, allocations: 37.7 kB / 1.215 GB, free: 51.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004219/3.075, allocations: 0.5065 MB / 1.215 GB, free: 50.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/3.076, allocations: 226.1 kB / 1.216 GB, free: 50.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.108e-05/3.076, allocations: 12 kB / 1.216 GB, free: 50.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/3.076, allocations: 334 kB / 1.216 GB, free: 49.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006861/3.076, allocations: 273.9 kB / 1.216 GB, free: 49.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008284/3.077, allocations: 481 kB / 1.217 GB, free: 49.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/3.078, allocations: 337.9 kB / 1.217 GB, free: 48.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/3.078, allocations: 3.938 kB / 1.217 GB, free: 48.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002705/3.081, allocations: 1.011 MB / 1.218 GB, free: 47.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005496/3.081, allocations: 1.838 MB / 1.22 GB, free: 45.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/3.081, allocations: 4 kB / 1.22 GB, free: 45.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008569/3.09, allocations: 0.7858 MB / 1.22 GB, free: 45.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/3.092, allocations: 263.6 kB / 1.221 GB, free: 44.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/3.093, allocations: 0.7746 MB / 1.222 GB, free: 43.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/3.095, allocations: 95.83 kB / 1.222 GB, free: 43.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/3.095, allocations: 67.95 kB / 1.222 GB, free: 43.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/3.095, allocations: 4 kB / 1.222 GB, free: 43.79 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002155/3.097, allocations: 0.8347 MB / 1.222 GB, free: 42.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/3.097, allocations: 4 kB / 1.222 GB, free: 42.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003604/3.097, allocations: 77.28 kB / 1.223 GB, free: 42.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/3.099, allocations: 271.6 kB / 1.223 GB, free: 42.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/3.101, allocations: 1.658 MB / 1.224 GB, free: 40.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/3.102, allocations: 83.91 kB / 1.225 GB, free: 40.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/3.102, allocations: 59.97 kB / 1.225 GB, free: 40.68 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 () * 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.0003656/3.103, allocations: 156.7 kB / 1.225 GB, free: 40.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/3.103, allocations: 122.5 kB / 1.225 GB, free: 40.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005233/3.108, allocations: 2.247 MB / 1.227 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/3.108, allocations: 11.84 kB / 1.227 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/3.108, allocations: 0 / 1.227 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/3.108, allocations: 3.984 kB / 1.227 GB, free: 38.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0039/3.112, allocations: 1.844 MB / 1.229 GB, free: 36.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/3.112, allocations: 4.375 kB / 1.229 GB, free: 36.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007396/3.113, allocations: 151.8 kB / 1.229 GB, free: 36.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004288/3.117, allocations: 0.5996 MB / 1.23 GB, free: 35.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-05/3.117, allocations: 27.98 kB / 1.23 GB, free: 35.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009657/3.118, allocations: 0.8098 MB / 1.23 GB, free: 34.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/3.118, allocations: 7.938 kB / 1.23 GB, free: 34.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/3.121, allocations: 1.151 MB / 1.232 GB, free: 33.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009114/3.121, allocations: 355.2 kB / 1.232 GB, free: 32.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/3.122, allocations: 20 kB / 1.232 GB, free: 32.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/3.123, allocations: 83.88 kB / 1.232 GB, free: 32.83 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/3.123, allocations: 64.38 kB / 1.232 GB, free: 32.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/3.123, allocations: 47.97 kB / 1.232 GB, free: 32.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001364/3.125, allocations: 0.7031 MB / 1.233 GB, free: 32.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.91e-07/3.125, allocations: 0 / 1.233 GB, free: 32.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004521/3.129, allocations: 1.043 MB / 1.234 GB, free: 30.96 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 () * 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.005663/3.135, allocations: 3.246 MB / 1.237 GB, free: 27.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003247/3.138, allocations: 1.287 MB / 1.238 GB, free: 26.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/3.138, allocations: 4.062 kB / 1.238 GB, free: 26.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008311/3.139, allocations: 349.7 kB / 1.239 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003808/3.143, allocations: 0.5246 MB / 1.239 GB, free: 25.51 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005512/3.148, allocations: 1.837 MB / 1.241 GB, free: 23.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/3.149, allocations: 1.112 MB / 1.242 GB, free: 22.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003313/3.152, allocations: 0.8523 MB / 1.243 GB, free: 21.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008343/3.153, allocations: 443 kB / 1.243 GB, free: 21.21 MB / 0.4948 GB Notification: Performance of SimCode: time 1.533e-06/3.153, allocations: 0 / 1.243 GB, free: 21.21 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4681/3.621, allocations: 40.95 MB / 1.283 GB, free: 76.51 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/3.622, allocations: 244.2 kB / 1.283 GB, free: 76.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.785/7.407, allocations: 3.594 kB / 1.283 GB, free: 76.18 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