Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.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.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse",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.001514/0.001514, 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.823/1.823, 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.0009403/0.0009404, allocations: 92.25 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.4271/0.4271, allocations: 43.47 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.684e-05/3.687e-05, allocations: 0 / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1429, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.169/7.312, allocations: 2.772 GB / 3.245 GB, free: 54.61 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003345/7.313, allocations: 85.8 kB / 3.245 GB, free: 54.57 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.564/9.877, allocations: 0.5775 GB / 3.823 GB, free: 51.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.795e-06/9.877, allocations: 2.406 kB / 3.823 GB, free: 51.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001118/9.877, allocations: 36.56 kB / 3.823 GB, free: 51.21 MB / 0.5261 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.01157/9.888, allocations: 2.548 MB / 3.825 GB, free: 49.92 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/9.888, allocations: 9.844 kB / 3.825 GB, free: 49.92 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003537/9.889, allocations: 170.2 kB / 3.825 GB, free: 49.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006655/9.896, allocations: 0.8685 MB / 3.826 GB, free: 49.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/9.898, allocations: 1.034 MB / 3.827 GB, free: 49.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.272e-05/9.898, allocations: 100.8 kB / 3.827 GB, free: 49.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/9.898, allocations: 119.2 kB / 3.827 GB, free: 48.98 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004613/9.903, allocations: 2.17 MB / 3.83 GB, free: 48.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/9.903, allocations: 3.938 kB / 3.83 GB, free: 48.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/9.903, allocations: 51.62 kB / 3.83 GB, free: 48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/9.903, allocations: 26.78 kB / 3.83 GB, free: 48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004342/9.907, allocations: 1.98 MB / 3.832 GB, free: 47.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/9.918, allocations: 8.719 MB / 3.84 GB, free: 40.99 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004649/9.923, allocations: 1.89 MB / 3.842 GB, free: 40.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/9.924, allocations: 0.5274 MB / 3.842 GB, free: 40.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04354/9.967, allocations: 24.02 MB / 3.866 GB, free: 24.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.06e-05/9.967, allocations: 51.34 kB / 3.866 GB, free: 24.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001345/9.969, allocations: 163.7 kB / 3.866 GB, free: 24.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=108): time 3.136e-06/9.969, allocations: 0 / 3.866 GB, free: 24.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=108): time 0.006661/9.975, allocations: 2.467 MB / 3.869 GB, free: 23.92 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/9.976, allocations: 188.8 kB / 3.869 GB, free: 23.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/9.977, allocations: 0.9045 MB / 3.87 GB, free: 23.31 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001412/9.977, allocations: 52.64 kB / 3.87 GB, free: 23.26 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000377/9.977, allocations: 0.5594 MB / 3.87 GB, free: 22.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/9.978, allocations: 364.6 kB / 3.871 GB, free: 22.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/9.978, allocations: 34.22 kB / 3.871 GB, free: 22.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001582/9.978, allocations: 355.5 kB / 3.871 GB, free: 22.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007242/9.979, allocations: 458.1 kB / 3.871 GB, free: 22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008643/9.979, allocations: 0.7735 MB / 3.872 GB, free: 21.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008135/9.98, allocations: 0.5255 MB / 3.873 GB, free: 21.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/9.98, allocations: 7.875 kB / 3.873 GB, free: 21.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002386/9.983, allocations: 1.575 MB / 3.874 GB, free: 20.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001178/9.984, allocations: 3.148 MB / 3.877 GB, free: 17.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/9.984, allocations: 11.66 kB / 3.877 GB, free: 17.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006273/9.99, allocations: 1.167 MB / 3.878 GB, free: 17.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/9.992, allocations: 414.1 kB / 3.879 GB, free: 17.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/9.993, allocations: 0.9319 MB / 3.88 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/9.995, allocations: 169.3 kB / 3.88 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/9.995, allocations: 81.75 kB / 3.88 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/9.995, allocations: 12.66 kB / 3.88 GB, free: 16.35 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002331/9.997, allocations: 1.342 MB / 3.881 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/9.997, allocations: 7.938 kB / 3.881 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/9.997, allocations: 94 kB / 3.881 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/9.999, allocations: 449.1 kB / 3.882 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/10, allocations: 1.752 MB / 3.883 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/10, allocations: 174.2 kB / 3.884 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/10, allocations: 81.31 kB / 3.884 GB, free: 14.16 MB / 0.5261 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.0003839/10, allocations: 190.8 kB / 3.884 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/10, allocations: 139.8 kB / 3.884 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006678/10.01, allocations: 6.688 MB / 3.891 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.298e-05/10.01, allocations: 85 kB / 3.891 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/10.01, allocations: 0 / 3.891 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/10.01, allocations: 6.281 kB / 3.891 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009014/10.02, allocations: 8.576 MB / 3.899 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/10.02, allocations: 0 / 3.899 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/10.02, allocations: 299.7 kB / 3.899 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006407/10.03, allocations: 2.296 MB / 3.902 GB, free: 260 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/10.03, allocations: 35.33 kB / 3.902 GB, free: 228 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/10.03, allocations: 1.614 MB / 3.903 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/10.03, allocations: 0 / 3.903 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004783/10.03, allocations: 3.516 MB / 3.907 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/10.03, allocations: 0.7477 MB / 3.907 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/10.03, allocations: 24 kB / 3.907 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/10.04, allocations: 145.3 kB / 3.908 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/10.04, allocations: 125.5 kB / 3.908 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.501e-05/10.04, allocations: 55.45 kB / 3.908 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0017/10.04, allocations: 1.181 MB / 3.909 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.31e-07/10.04, allocations: 0 / 3.909 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007966/10.05, allocations: 1.843 MB / 3.911 GB, free: 7.574 MB / 0.5417 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.01379/10.06, allocations: 5.875 MB / 3.916 GB, free: 2.43 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.4566/10.52, allocations: 2.763 MB / 3.919 GB, free: 66.85 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/10.52, allocations: 2.594 kB / 3.919 GB, free: 66.85 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002901/10.52, allocations: 1.545 MB / 3.921 GB, free: 66.84 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004955/10.52, allocations: 0.7302 MB / 3.921 GB, free: 66.83 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/10.54, allocations: 4.68 MB / 3.926 GB, free: 65.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/10.54, allocations: 1.776 MB / 3.928 GB, free: 65.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003718/10.54, allocations: 1.879 MB / 3.929 GB, free: 65.14 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/10.55, allocations: 1.007 MB / 3.93 GB, free: 65.13 MB / 0.5417 GB Notification: Performance of SimCode: time 2.054e-06/10.55, allocations: 0 / 3.93 GB, free: 65.13 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1796/10.72, allocations: 93.37 MB / 4.022 GB, free: 60.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002691/10.73, allocations: 244 kB / 4.022 GB, free: 60.51 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.714/16.44, allocations: 0 / 4.022 GB, free: 60.51 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValvesCompressibleReverse.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse_res.mat does not exist to compare? outputFormat=mat