Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.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.TestValveIncompressible,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",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.001418/0.001418, allocations: 185.2 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.56/1.56, 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.001164/0.001164, allocations: 94.84 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.2161/0.2161, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003213, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1227, allocations: 58.85 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.448/6.57, allocations: 2.772 GB / 3.251 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/6.571, allocations: 88.14 kB / 3.251 GB, free: 65.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.969/8.54, allocations: 0.5035 GB / 3.755 GB, free: 45.21 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.212e-06/8.54, allocations: 0 / 3.755 GB, free: 45.21 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001133/8.54, allocations: 30.12 kB / 3.755 GB, free: 45.21 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.007981/8.548, allocations: 2.175 MB / 3.757 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/8.548, allocations: 7.656 kB / 3.757 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004812/8.549, allocations: 145.7 kB / 3.757 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005909/8.555, allocations: 0.7163 MB / 3.758 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/8.557, allocations: 0.8101 MB / 3.758 GB, free: 43.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/8.557, allocations: 78.44 kB / 3.758 GB, free: 43.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/8.557, allocations: 94.52 kB / 3.758 GB, free: 43.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004482/8.562, allocations: 1.745 MB / 3.76 GB, free: 43.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.844e-05/8.562, allocations: 3.844 kB / 3.76 GB, free: 43.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000244/8.562, allocations: 47.45 kB / 3.76 GB, free: 43.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/8.562, allocations: 25.09 kB / 3.76 GB, free: 43.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004357/8.566, allocations: 1.653 MB / 3.762 GB, free: 43.56 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008958/8.575, allocations: 7.559 MB / 3.769 GB, free: 38.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003652/8.579, allocations: 1.305 MB / 3.771 GB, free: 38.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04156/8.621, allocations: 24.17 MB / 3.794 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.404e-05/8.621, allocations: 41.41 kB / 3.794 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=67): time 6.062e-06/8.621, allocations: 0 / 3.794 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.007597/8.628, allocations: 2.225 MB / 3.796 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/8.629, allocations: 222.1 kB / 3.797 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/8.63, allocations: 0.7307 MB / 3.797 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001432/8.63, allocations: 45.7 kB / 3.797 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003598/8.63, allocations: 474 kB / 3.798 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/8.631, allocations: 231.8 kB / 3.798 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/8.631, allocations: 16.84 kB / 3.798 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.575e-05/8.631, allocations: 340.3 kB / 3.798 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009606/8.632, allocations: 393.9 kB / 3.799 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/8.633, allocations: 0.6872 MB / 3.799 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009946/8.634, allocations: 453.1 kB / 3.8 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/8.634, allocations: 3.469 kB / 3.8 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002609/8.637, allocations: 1.188 MB / 3.801 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001673/8.638, allocations: 3.226 MB / 3.804 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/8.638, allocations: 7.438 kB / 3.804 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.472e-05/8.638, allocations: 13.38 kB / 3.804 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009281/8.639, allocations: 275.3 kB / 3.804 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.539e-05/8.639, allocations: 15.67 kB / 3.804 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/8.641, allocations: 198.9 kB / 3.805 GB, free: 34.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/8.641, allocations: 59.81 kB / 3.805 GB, free: 34.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/8.641, allocations: 1.594 kB / 3.805 GB, free: 34.59 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002381/8.643, allocations: 1.053 MB / 3.806 GB, free: 34.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/8.643, allocations: 9.906 kB / 3.806 GB, free: 34.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/8.643, allocations: 14.69 kB / 3.806 GB, free: 34.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008719/8.644, allocations: 273.4 kB / 3.806 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-05/8.644, allocations: 17.38 kB / 3.806 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/8.645, allocations: 171.6 kB / 3.806 GB, free: 34.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/8.646, allocations: 53.41 kB / 3.806 GB, free: 34.49 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006964/8.646, allocations: 343.2 kB / 3.807 GB, free: 34.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/8.647, allocations: 109.8 kB / 3.807 GB, free: 34.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006754/8.653, allocations: 5.126 MB / 3.812 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.734e-05/8.653, allocations: 62.08 kB / 3.812 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/8.653, allocations: 3.656 kB / 3.812 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/8.653, allocations: 5.25 kB / 3.812 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003165/8.657, allocations: 2.497 MB / 3.814 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/8.657, allocations: 4 kB / 3.814 GB, free: 33.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007857/8.657, allocations: 238.5 kB / 3.814 GB, free: 33.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/8.657, allocations: 3.953 kB / 3.814 GB, free: 33.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/8.658, allocations: 21.53 kB / 3.814 GB, free: 33.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/8.658, allocations: 7.875 kB / 3.814 GB, free: 33.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/8.658, allocations: 0.9375 kB / 3.814 GB, free: 33.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/8.661, allocations: 2.386 MB / 3.817 GB, free: 32.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009325/8.662, allocations: 0.7003 MB / 3.817 GB, free: 32.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003221/8.662, allocations: 19.64 kB / 3.817 GB, free: 32.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/8.663, allocations: 114.9 kB / 3.818 GB, free: 32.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/8.663, allocations: 79.3 kB / 3.818 GB, free: 32.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.51e-05/8.663, allocations: 34.2 kB / 3.818 GB, free: 32.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001622/8.665, allocations: 1.185 MB / 3.819 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.61e-07/8.665, allocations: 0 / 3.819 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006998/8.672, allocations: 1.618 MB / 3.82 GB, free: 32.01 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse40.phase,$cse40.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01264/8.685, allocations: 4.621 MB / 3.825 GB, free: 30.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005167/8.69, allocations: 2.041 MB / 3.827 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/8.69, allocations: 7.844 kB / 3.827 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/8.691, allocations: 1.16 MB / 3.828 GB, free: 30.67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003128/8.695, allocations: 0.609 MB / 3.829 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/8.707, allocations: 11.82 MB / 3.84 GB, free: 21.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/8.708, allocations: 1.577 MB / 3.842 GB, free: 21.22 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002412/8.711, allocations: 1.587 MB / 3.843 GB, free: 21.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009421/8.712, allocations: 0.8046 MB / 3.844 GB, free: 21.15 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/8.712, allocations: 0 / 3.844 GB, free: 21.15 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/8.829, allocations: 72.4 MB / 3.915 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/8.83, allocations: 243.2 kB / 3.915 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.648/13.48, allocations: 0 / 3.915 GB, free: 11.11 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat does not exist to compare? outputFormat=mat