Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 181 kB / 14.15 MB, free: 1.164 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.3 MB / 236 MB, free: 2.902 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000866/0.0008661, allocations: 94.66 kB / 287 MB, free: 188 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2091/0.2091, allocations: 44.14 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.138e-05/3.14e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1422, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.461/7.603, allocations: 2.777 GB / 3.279 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/7.603, allocations: 87.73 kB / 3.279 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.817/10.42, allocations: 0.5839 GB / 3.863 GB, free: 47.24 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.006e-06/10.42, allocations: 3 kB / 3.863 GB, free: 47.24 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001219/10.42, allocations: 40.31 kB / 3.863 GB, free: 47.24 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.01243/10.43, allocations: 2.556 MB / 3.866 GB, free: 46.32 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.846e-05/10.43, allocations: 9.312 kB / 3.866 GB, free: 46.32 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005418/10.43, allocations: 167 kB / 3.866 GB, free: 46.27 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007652/10.44, allocations: 0.8669 MB / 3.867 GB, free: 46.19 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/10.44, allocations: 1.039 MB / 3.868 GB, free: 45.86 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/10.44, allocations: 98.8 kB / 3.868 GB, free: 45.86 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002678/10.44, allocations: 122.3 kB / 3.868 GB, free: 45.86 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005955/10.45, allocations: 2.163 MB / 3.87 GB, free: 45.48 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/10.45, allocations: 7.469 kB / 3.87 GB, free: 45.48 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/10.45, allocations: 53.38 kB / 3.87 GB, free: 45.48 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.374e-05/10.45, allocations: 29.81 kB / 3.87 GB, free: 45.48 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004726/10.46, allocations: 1.973 MB / 3.872 GB, free: 45.48 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0125/10.47, allocations: 8.722 MB / 3.881 GB, free: 40.23 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004868/10.47, allocations: 1.88 MB / 3.883 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008049/10.47, allocations: 0.5347 MB / 3.883 GB, free: 40.19 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04444/10.52, allocations: 24.02 MB / 3.907 GB, free: 25.48 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.33e-05/10.52, allocations: 46.44 kB / 3.907 GB, free: 25.44 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001715/10.52, allocations: 170.2 kB / 3.907 GB, free: 25.37 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=108): time 1.021e-05/10.52, allocations: 3.328 kB / 3.907 GB, free: 25.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=108): time 0.008295/10.53, allocations: 2.46 MB / 3.909 GB, free: 25.22 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/10.53, allocations: 195.8 kB / 3.909 GB, free: 25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/10.53, allocations: 0.8991 MB / 3.91 GB, free: 24.83 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002717/10.53, allocations: 48.27 kB / 3.91 GB, free: 24.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005542/10.53, allocations: 0.5661 MB / 3.911 GB, free: 24.58 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004398/10.53, allocations: 364.3 kB / 3.911 GB, free: 24.35 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/10.53, allocations: 33.38 kB / 3.911 GB, free: 24.34 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001292/10.53, allocations: 358 kB / 3.912 GB, free: 24.04 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000967/10.53, allocations: 458 kB / 3.912 GB, free: 24.04 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/10.53, allocations: 0.7644 MB / 3.913 GB, free: 23.69 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/10.54, allocations: 0.5385 MB / 3.913 GB, free: 23.66 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/10.54, allocations: 4.562 kB / 3.913 GB, free: 23.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004496/10.54, allocations: 1.575 MB / 3.915 GB, free: 23.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001965/10.54, allocations: 3.145 MB / 3.918 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.246e-05/10.54, allocations: 10.16 kB / 3.918 GB, free: 20.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007014/10.55, allocations: 1.163 MB / 3.919 GB, free: 20.17 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/10.55, allocations: 425.2 kB / 3.919 GB, free: 20.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/10.55, allocations: 0.9278 MB / 3.92 GB, free: 19.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/10.55, allocations: 174.3 kB / 3.92 GB, free: 19.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003731/10.56, allocations: 81.72 kB / 3.921 GB, free: 19.61 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/10.56, allocations: 3.25 kB / 3.921 GB, free: 19.61 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00321/10.56, allocations: 1.333 MB / 3.922 GB, free: 19.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/10.56, allocations: 10.91 kB / 3.922 GB, free: 19.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000365/10.56, allocations: 86.53 kB / 3.922 GB, free: 19.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/10.56, allocations: 460 kB / 3.922 GB, free: 19.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/10.56, allocations: 1.751 MB / 3.924 GB, free: 18.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/10.56, allocations: 178.8 kB / 3.924 GB, free: 18.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/10.56, allocations: 79.08 kB / 3.924 GB, free: 18.15 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 15 (SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase,V5.state_b.phase,V5.state_a.phase,V4.state_b.phase,V4.state_a.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 (148): * Single equations (assignments): 147 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005263/10.57, allocations: 186.7 kB / 3.925 GB, free: 18.04 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005177/10.57, allocations: 143.2 kB / 3.925 GB, free: 17.96 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008519/10.57, allocations: 6.685 MB / 3.931 GB, free: 17.24 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.819e-05/10.57, allocations: 88.78 kB / 3.931 GB, free: 17.24 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/10.57, allocations: 0 / 3.931 GB, free: 17.24 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.48e-05/10.57, allocations: 10.42 kB / 3.931 GB, free: 17.23 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/10.59, allocations: 8.564 MB / 3.94 GB, free: 16.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/10.59, allocations: 64 / 3.94 GB, free: 16.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/10.59, allocations: 297.2 kB / 3.94 GB, free: 16.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006297/10.59, allocations: 2.3 MB / 3.942 GB, free: 16.46 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002498/10.59, allocations: 39.56 kB / 3.942 GB, free: 16.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002654/10.6, allocations: 1.609 MB / 3.944 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/10.6, allocations: 3.938 kB / 3.944 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005596/10.6, allocations: 3.511 MB / 3.947 GB, free: 31.37 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/10.6, allocations: 0.7521 MB / 3.948 GB, free: 31.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007305/10.6, allocations: 27.69 kB / 3.948 GB, free: 31.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/10.61, allocations: 145.2 kB / 3.948 GB, free: 31.01 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/10.61, allocations: 126.7 kB / 3.948 GB, free: 31 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/10.61, allocations: 55.81 kB / 3.948 GB, free: 31 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002694/10.61, allocations: 1.187 MB / 3.949 GB, free: 30.84 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.91e-07/10.61, allocations: 0 / 3.949 GB, free: 30.84 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01168/10.62, allocations: 1.842 MB / 3.951 GB, free: 30.63 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 51 ($cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse41.phase,$cse41.region,$cse42.phase,$cse42.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse55.phase,$cse55.region,$cse56.phase,$cse56.region,$cse59.phase,$cse59.region,$cse63.phase,$cse63.region,$cse67.phase,$cse67.region,SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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 34} Notification: Performance of Backend phase and start with SimCode phase: time 0.01786/10.64, allocations: 5.873 MB / 3.957 GB, free: 29.15 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006635/10.65, allocations: 2.771 MB / 3.96 GB, free: 28.96 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/10.65, allocations: 1.031 kB / 3.96 GB, free: 28.96 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002431/10.65, allocations: 1.545 MB / 3.961 GB, free: 28.94 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00494/10.65, allocations: 0.7371 MB / 3.962 GB, free: 28.88 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/10.67, allocations: 4.689 MB / 3.966 GB, free: 27.74 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/10.67, allocations: 1.776 MB / 3.968 GB, free: 26.96 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00502/10.68, allocations: 1.87 MB / 3.97 GB, free: 26.91 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/10.68, allocations: 1.011 MB / 3.971 GB, free: 26.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.403e-06/10.68, allocations: 3.188 kB / 3.971 GB, free: 26.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6061/11.28, allocations: 93.41 MB / 4.062 GB, free: 68.73 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/11.29, allocations: 252.4 kB / 4.063 GB, free: 68.39 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.869/17.15, allocations: 1.594 kB / 4.063 GB, free: 68.39 MB / 0.573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse_res.mat does not exist to compare? outputFormat=mat