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.002176/0.002176, allocations: 183.5 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.679/1.679, 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.001068/0.001068, allocations: 91.81 kB / 267.1 MB, free: 9.277 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.4429/0.4429, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.132e-05/4.135e-05, allocations: 4 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1454, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.416/7.561, allocations: 2.772 GB / 3.245 GB, free: 54.84 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/7.562, allocations: 88.34 kB / 3.245 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.136/9.697, allocations: 0.5017 GB / 3.747 GB, free: 41.11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.214e-06/9.697, allocations: 1.688 kB / 3.747 GB, free: 41.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.295e-05/9.697, allocations: 33.06 kB / 3.747 GB, free: 41.11 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.009087/9.706, allocations: 2.061 MB / 3.749 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/9.706, allocations: 11.67 kB / 3.749 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002691/9.707, allocations: 136.4 kB / 3.749 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005842/9.713, allocations: 0.7221 MB / 3.75 GB, free: 40.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/9.714, allocations: 0.7995 MB / 3.75 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.483e-05/9.714, allocations: 76.19 kB / 3.75 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/9.715, allocations: 88.69 kB / 3.75 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003708/9.718, allocations: 1.718 MB / 3.752 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/9.718, allocations: 3.438 kB / 3.752 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/9.719, allocations: 48.86 kB / 3.752 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/9.719, allocations: 28.66 kB / 3.752 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003594/9.722, allocations: 1.494 MB / 3.754 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009484/9.732, allocations: 7.546 MB / 3.761 GB, free: 34.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/9.735, allocations: 1.186 MB / 3.762 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005161/9.735, allocations: 344.9 kB / 3.763 GB, free: 34.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04709/9.782, allocations: 24.25 MB / 3.786 GB, free: 35.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/9.783, allocations: 45 kB / 3.786 GB, free: 35.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=67): time 2.374e-06/9.783, allocations: 3.438 kB / 3.786 GB, free: 35.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67): time 0.005413/9.788, allocations: 1.777 MB / 3.788 GB, free: 35.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/9.788, allocations: 216 kB / 3.788 GB, free: 35.28 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009175/9.789, allocations: 0.7165 MB / 3.789 GB, free: 35.12 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.379e-05/9.789, allocations: 38.55 kB / 3.789 GB, free: 35.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/9.789, allocations: 486.2 kB / 3.789 GB, free: 34.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/9.79, allocations: 233 kB / 3.79 GB, free: 34.74 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/9.79, allocations: 19.78 kB / 3.79 GB, free: 34.74 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001339/9.79, allocations: 335.8 kB / 3.79 GB, free: 34.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/9.79, allocations: 263.7 kB / 3.79 GB, free: 34.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/9.791, allocations: 0.5591 MB / 3.791 GB, free: 34.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/9.791, allocations: 326.5 kB / 3.791 GB, free: 34.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/9.791, allocations: 3.406 kB / 3.791 GB, free: 34.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001418/9.793, allocations: 0.9346 MB / 3.792 GB, free: 33.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001139/9.794, allocations: 3.23 MB / 3.795 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/9.794, allocations: 10.28 kB / 3.795 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/9.794, allocations: 12.97 kB / 3.795 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/9.795, allocations: 276.6 kB / 3.795 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/9.795, allocations: 19.84 kB / 3.795 GB, free: 30.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/9.796, allocations: 192.6 kB / 3.796 GB, free: 30.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/9.796, allocations: 54.48 kB / 3.796 GB, free: 30.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/9.796, allocations: 7.625 kB / 3.796 GB, free: 30.55 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001176/9.797, allocations: 0.8016 MB / 3.797 GB, free: 30.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/9.797, allocations: 9.844 kB / 3.797 GB, free: 30.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/9.797, allocations: 12.19 kB / 3.797 GB, free: 30.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008709/9.798, allocations: 271.8 kB / 3.797 GB, free: 30.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/9.798, allocations: 18.81 kB / 3.797 GB, free: 30.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009724/9.799, allocations: 172.3 kB / 3.797 GB, free: 30.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-05/9.799, allocations: 51.75 kB / 3.797 GB, free: 30.47 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 () * 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.0002493/9.8, allocations: 167.6 kB / 3.797 GB, free: 30.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/9.8, allocations: 111.9 kB / 3.797 GB, free: 30.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00429/9.804, allocations: 4.868 MB / 3.802 GB, free: 29.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-05/9.804, allocations: 70.94 kB / 3.802 GB, free: 29.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/9.804, allocations: 11.44 kB / 3.802 GB, free: 29.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/9.804, allocations: 2.719 kB / 3.802 GB, free: 29.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/9.807, allocations: 2.502 MB / 3.805 GB, free: 29.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/9.807, allocations: 0 / 3.805 GB, free: 29.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008088/9.808, allocations: 236.1 kB / 3.805 GB, free: 29.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/9.808, allocations: 7.781 kB / 3.805 GB, free: 29.19 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/9.808, allocations: 26.53 kB / 3.805 GB, free: 29.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/9.808, allocations: 3.781 kB / 3.805 GB, free: 29.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/9.808, allocations: 0 / 3.805 GB, free: 29.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/9.81, allocations: 2.125 MB / 3.807 GB, free: 28.78 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008638/9.811, allocations: 0.6913 MB / 3.808 GB, free: 28.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/9.811, allocations: 16.75 kB / 3.808 GB, free: 28.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008458/9.812, allocations: 116 kB / 3.808 GB, free: 28.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/9.812, allocations: 82.61 kB / 3.808 GB, free: 28.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.524e-05/9.812, allocations: 33.66 kB / 3.808 GB, free: 28.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001371/9.814, allocations: 1.164 MB / 3.809 GB, free: 28.28 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/9.814, allocations: 0 / 3.809 GB, free: 28.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00631/9.82, allocations: 1.623 MB / 3.811 GB, free: 28.08 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 () * 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.01185/9.832, allocations: 4.362 MB / 3.815 GB, free: 26.85 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002922/9.835, allocations: 1.688 MB / 3.816 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/9.835, allocations: 0.8125 kB / 3.816 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/9.836, allocations: 1.036 MB / 3.817 GB, free: 26.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003396/9.839, allocations: 0.6062 MB / 3.818 GB, free: 26.74 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008887/9.848, allocations: 3.76 MB / 3.822 GB, free: 25.78 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/9.849, allocations: 1.572 MB / 3.823 GB, free: 25.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002493/9.852, allocations: 1.629 MB / 3.825 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008577/9.853, allocations: 0.7936 MB / 3.826 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of SimCode: time 9.61e-07/9.853, allocations: 0 / 3.826 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1344/9.987, allocations: 77.97 MB / 3.902 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/9.987, allocations: 207.7 kB / 3.902 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.889/14.88, allocations: 0 / 3.902 GB, free: 12.22 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