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.002292/0.002292, allocations: 182.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001094/0.001093, allocations: 90.64 kB / 267.5 MB, free: 14.03 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.283/0.283, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.673e-05/3.696e-05, allocations: 4 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.122, allocations: 58.85 MB / 484.2 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7102/0.8323, allocations: 219.2 MB / 0.687 GB, free: 1.73 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/0.8327, allocations: 87.3 kB / 0.687 GB, free: 1.688 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076/3.909, allocations: 0.5133 GB / 1.2 GB, free: 77.15 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.495e-06/3.909, allocations: 3.281 kB / 1.2 GB, free: 77.15 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001298/3.909, allocations: 37.62 kB / 1.2 GB, free: 77.12 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.007661/3.916, allocations: 1.939 MB / 1.202 GB, free: 75.26 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/3.916, allocations: 8.031 kB / 1.202 GB, free: 75.25 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004102/3.917, allocations: 131.6 kB / 1.202 GB, free: 75.17 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005086/3.922, allocations: 357.5 kB / 1.203 GB, free: 74.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003066/3.925, allocations: 0.865 MB / 1.204 GB, free: 74.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.745e-05/3.925, allocations: 64 kB / 1.204 GB, free: 74.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004155/3.926, allocations: 83.56 kB / 1.204 GB, free: 74.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004345/3.93, allocations: 1.141 MB / 1.205 GB, free: 72.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/3.93, allocations: 0 / 1.205 GB, free: 72.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002283/3.93, allocations: 40 kB / 1.205 GB, free: 72.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/3.93, allocations: 26.34 kB / 1.205 GB, free: 72.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003844/3.934, allocations: 0.831 MB / 1.206 GB, free: 71.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009748/3.944, allocations: 5.428 MB / 1.211 GB, free: 66.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002832/3.947, allocations: 0.5354 MB / 1.212 GB, free: 65.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/3.948, allocations: 282.5 kB / 1.212 GB, free: 65.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/3.95, allocations: 0.9504 MB / 1.213 GB, free: 64.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/3.95, allocations: 47.08 kB / 1.213 GB, free: 64.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001787/3.951, allocations: 128.8 kB / 1.213 GB, free: 63.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=65): time 7.123e-06/3.952, allocations: 0 / 1.213 GB, free: 63.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65): time 0.008348/3.96, allocations: 0.9189 MB / 1.214 GB, free: 63.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/3.96, allocations: 192.5 kB / 1.214 GB, free: 62.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/3.963, allocations: 0.8167 MB / 1.215 GB, free: 61.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003984/3.963, allocations: 41.7 kB / 1.215 GB, free: 61.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005628/3.964, allocations: 0.4914 MB / 1.215 GB, free: 61.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004909/3.964, allocations: 227 kB / 1.216 GB, free: 61.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/3.964, allocations: 16 kB / 1.216 GB, free: 61.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001232/3.964, allocations: 342.8 kB / 1.216 GB, free: 60.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/3.966, allocations: 269.9 kB / 1.216 GB, free: 60.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/3.967, allocations: 479.4 kB / 1.217 GB, free: 60.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/3.969, allocations: 332.5 kB / 1.217 GB, free: 59.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/3.969, allocations: 0 / 1.217 GB, free: 59.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.004309/3.973, allocations: 0.9443 MB / 1.218 GB, free: 58.81 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006168/3.974, allocations: 1.831 MB / 1.22 GB, free: 56.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/3.974, allocations: 4 kB / 1.22 GB, free: 56.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01358/3.988, allocations: 0.7882 MB / 1.22 GB, free: 56.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/3.99, allocations: 254.9 kB / 1.221 GB, free: 55.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/3.992, allocations: 0.7764 MB / 1.221 GB, free: 55.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/3.995, allocations: 94.3 kB / 1.221 GB, free: 54.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005766/3.996, allocations: 71.23 kB / 1.222 GB, free: 54.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/3.996, allocations: 7.781 kB / 1.222 GB, free: 54.88 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004341/4, allocations: 0.8329 MB / 1.222 GB, free: 54.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/4, allocations: 4 kB / 1.222 GB, free: 54.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005265/4.001, allocations: 80.06 kB / 1.222 GB, free: 53.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/4.003, allocations: 274.4 kB / 1.223 GB, free: 53.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/4.006, allocations: 1.628 MB / 1.224 GB, free: 51.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/4.008, allocations: 91.22 kB / 1.224 GB, free: 51.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003598/4.009, allocations: 59.95 kB / 1.224 GB, free: 51.82 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.0005254/4.009, allocations: 144.9 kB / 1.225 GB, free: 51.67 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005714/4.01, allocations: 118.6 kB / 1.225 GB, free: 51.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008758/4.018, allocations: 2.269 MB / 1.227 GB, free: 49.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-05/4.019, allocations: 4 kB / 1.227 GB, free: 49.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/4.019, allocations: 4 kB / 1.227 GB, free: 49.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.989e-05/4.019, allocations: 7.781 kB / 1.227 GB, free: 49.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006089/4.025, allocations: 1.846 MB / 1.229 GB, free: 47.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/4.025, allocations: 0 / 1.229 GB, free: 47.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/4.026, allocations: 146.6 kB / 1.229 GB, free: 47.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007175/4.033, allocations: 0.5991 MB / 1.229 GB, free: 46.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002702/4.034, allocations: 35.97 kB / 1.229 GB, free: 46.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/4.035, allocations: 0.812 MB / 1.23 GB, free: 45.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.178e-06/4.035, allocations: 3.938 kB / 1.23 GB, free: 45.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003767/4.039, allocations: 1.151 MB / 1.231 GB, free: 44.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/4.041, allocations: 347.3 kB / 1.232 GB, free: 44.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004856/4.041, allocations: 16 kB / 1.232 GB, free: 44.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00226/4.043, allocations: 81.53 kB / 1.232 GB, free: 44.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/4.044, allocations: 72.36 kB / 1.232 GB, free: 43.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/4.044, allocations: 55.58 kB / 1.232 GB, free: 43.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002099/4.046, allocations: 0.6995 MB / 1.233 GB, free: 43.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.563e-06/4.046, allocations: 0 / 1.233 GB, free: 43.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00673/4.053, allocations: 1.026 MB / 1.234 GB, free: 42.19 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.008803/4.062, allocations: 3.253 MB / 1.237 GB, free: 38.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005367/4.067, allocations: 1.256 MB / 1.238 GB, free: 37.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/4.067, allocations: 4 kB / 1.238 GB, free: 37.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001373/4.069, allocations: 355 kB / 1.238 GB, free: 37.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005689/4.074, allocations: 0.5192 MB / 1.239 GB, free: 36.76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008826/4.083, allocations: 1.854 MB / 1.241 GB, free: 34.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007987/4.084, allocations: 1.103 MB / 1.242 GB, free: 33.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/4.086, allocations: 466.8 kB / 1.242 GB, free: 33.24 MB / 0.4948 GB Notification: Performance of SimCode: time 1.633e-06/4.086, allocations: 2.844 kB / 1.242 GB, free: 33.24 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.851/7.937, allocations: 33.65 MB / 1.275 GB, free: 15.84 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