Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.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.TestValveCoefficients,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",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.001714/0.001713, 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.961/1.961, 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.0009193/0.0009193, allocations: 85.86 kB / 267.1 MB, free: 9.281 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.5779/0.5779, allocations: 43.47 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.205e-05/6.209e-05, allocations: 4 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1741, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.009/7.183, allocations: 2.772 GB / 3.245 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/7.184, allocations: 80.95 kB / 3.245 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.416/9.6, allocations: 0.6368 GB / 3.882 GB, free: 38.17 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.765e-06/9.6, allocations: 0 / 3.882 GB, free: 38.17 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001285/9.6, allocations: 40.66 kB / 3.882 GB, free: 38.16 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01144/9.612, allocations: 2.439 MB / 3.884 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/9.612, allocations: 8.031 kB / 3.884 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004859/9.612, allocations: 182 kB / 3.884 GB, free: 36.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008269/9.621, allocations: 0.955 MB / 3.885 GB, free: 36.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003317/9.624, allocations: 1 MB / 3.886 GB, free: 35.99 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/9.624, allocations: 108.2 kB / 3.886 GB, free: 35.94 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002473/9.624, allocations: 115.1 kB / 3.887 GB, free: 35.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005209/9.63, allocations: 2.258 MB / 3.889 GB, free: 34.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/9.63, allocations: 15.73 kB / 3.889 GB, free: 34.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/9.63, allocations: 55.34 kB / 3.889 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/9.63, allocations: 32.69 kB / 3.889 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004276/9.634, allocations: 1.985 MB / 3.891 GB, free: 34.27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/9.646, allocations: 10.33 MB / 3.901 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003725/9.65, allocations: 1.555 MB / 3.902 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005674/9.65, allocations: 424.8 kB / 3.903 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04113/9.692, allocations: 24.01 MB / 3.926 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/9.692, allocations: 43.25 kB / 3.926 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=80): time 2.405e-06/9.692, allocations: 7.938 kB / 3.926 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of matching and sorting (n=80): time 0.006711/9.698, allocations: 2.302 MB / 3.929 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.95e-05/9.699, allocations: 270.9 kB / 3.929 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/9.7, allocations: 0.9812 MB / 3.93 GB, free: 8.133 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.143e-05/9.7, allocations: 49.64 kB / 3.93 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003893/9.7, allocations: 0.6156 MB / 3.93 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/9.701, allocations: 272.8 kB / 3.931 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/9.701, allocations: 24 kB / 3.931 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.484e-05/9.701, allocations: 349 kB / 3.931 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005075/9.701, allocations: 344.9 kB / 3.931 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006934/9.702, allocations: 0.7735 MB / 3.932 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/9.703, allocations: 433.8 kB / 3.933 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/9.703, allocations: 4 kB / 3.933 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001853/9.704, allocations: 1.241 MB / 3.934 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001236/9.706, allocations: 4.912 MB / 3.939 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/9.706, allocations: 12 kB / 3.939 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.504e-05/9.706, allocations: 27.89 kB / 3.939 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/9.707, allocations: 364 kB / 3.939 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/9.707, allocations: 19.94 kB / 3.939 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/9.709, allocations: 272.9 kB / 3.939 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/9.709, allocations: 71.69 kB / 3.939 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/9.709, allocations: 4 kB / 3.939 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001851/9.711, allocations: 1.073 MB / 3.94 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/9.711, allocations: 12 kB / 3.94 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.333e-05/9.711, allocations: 20 kB / 3.94 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/9.712, allocations: 353.8 kB / 3.941 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-05/9.712, allocations: 35.47 kB / 3.941 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/9.714, allocations: 237.4 kB / 3.941 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/9.714, allocations: 67.59 kB / 3.941 GB, free: 12.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 16 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.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 (143): * Single equations (assignments): 143 * 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.0004831/9.714, allocations: 195.7 kB / 3.941 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003219/9.715, allocations: 142.2 kB / 3.941 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008514/9.723, allocations: 6.41 MB / 3.948 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.259e-05/9.723, allocations: 83.86 kB / 3.948 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/9.723, allocations: 0 / 3.948 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/9.723, allocations: 3.984 kB / 3.948 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005252/9.729, allocations: 3.262 MB / 3.951 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/9.729, allocations: 0 / 3.951 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009867/9.73, allocations: 275.7 kB / 3.951 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/9.73, allocations: 4 kB / 3.951 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.16e-05/9.73, allocations: 27.98 kB / 3.951 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/9.73, allocations: 3.938 kB / 3.951 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/9.73, allocations: 4 kB / 3.951 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003916/9.734, allocations: 2.728 MB / 3.954 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/9.735, allocations: 0.9084 MB / 3.955 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005041/9.736, allocations: 20 kB / 3.955 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/9.737, allocations: 135.7 kB / 3.955 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/9.737, allocations: 108.7 kB / 3.955 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/9.738, allocations: 35.98 kB / 3.955 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002647/9.74, allocations: 1.566 MB / 3.957 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.71e-07/9.74, allocations: 0 / 3.957 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009042/9.749, allocations: 1.837 MB / 3.958 GB, free: 10.98 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 56 ($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,$cse44.phase,$cse44.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse54.phase,$cse54.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * 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.01661/9.766, allocations: 5.138 MB / 3.963 GB, free: 6.086 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004948/9.771, allocations: 2.22 MB / 3.966 GB, free: 3.867 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/9.771, allocations: 0 / 3.966 GB, free: 3.867 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002126/9.773, allocations: 1.345 MB / 3.967 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005313/9.778, allocations: 0.7955 MB / 3.968 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4207/10.2, allocations: 4.852 MB / 3.972 GB, free: 68.29 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00353/10.2, allocations: 1.86 MB / 3.974 GB, free: 67.54 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005431/10.21, allocations: 2.173 MB / 3.976 GB, free: 67.52 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002061/10.21, allocations: 1.086 MB / 3.977 GB, free: 67.52 MB / 0.5417 GB Notification: Performance of SimCode: time 2.074e-06/10.21, allocations: 0 / 3.977 GB, free: 67.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1873/10.4, allocations: 95.48 MB / 4.071 GB, free: 62.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/10.4, allocations: 211.1 kB / 4.071 GB, free: 62.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.127/16.53, allocations: 4 kB / 4.071 GB, free: 62.59 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat does not exist to compare? outputFormat=mat