Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.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/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 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(ThermofluidStream.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_BasicControlValve",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.006472/0.006472, allocations: 170.1 kB / 15.11 MB, free: 5.969 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.531/1.531, allocations: 223.2 MB / 239 MB, free: 1.77 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.0009487/0.0009485, allocations: 108.6 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01127/0.01127, allocations: 1.558 MB / 342.9 MB, free: 9.25 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8282/0.8282, allocations: 90.31 MB / 484.7 MB, free: 21.85 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004986, allocations: 17.69 kB / 0.5527 GB, free: 30.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1765, allocations: 69.37 MB / 0.6204 GB, free: 5.504 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.235/1.412, allocations: 354.2 MB / 0.9663 GB, free: 211.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/1.412, allocations: 86.45 kB / 0.9664 GB, free: 211.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.109/2.521, allocations: 349.3 MB / 1.307 GB, free: 95.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.717e-06/2.522, allocations: 3.938 kB / 1.307 GB, free: 95.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001461/2.522, allocations: 54.94 kB / 1.307 GB, free: 95.14 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005662/2.527, allocations: 1.938 MB / 1.309 GB, free: 93.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.775e-05/2.527, allocations: 15.98 kB / 1.309 GB, free: 93.16 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002345/2.528, allocations: 169.4 kB / 1.31 GB, free: 92.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005535/2.528, allocations: 192.9 kB / 1.31 GB, free: 92.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/2.53, allocations: 0.7806 MB / 1.311 GB, free: 91.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.002e-05/2.53, allocations: 90.3 kB / 1.311 GB, free: 91.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/2.53, allocations: 119.9 kB / 1.311 GB, free: 91.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/2.532, allocations: 1.085 MB / 1.312 GB, free: 90.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/2.532, allocations: 3.953 kB / 1.312 GB, free: 90.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.093e-05/2.532, allocations: 44 kB / 1.312 GB, free: 90.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/2.532, allocations: 35.98 kB / 1.312 GB, free: 90.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/2.534, allocations: 1.157 MB / 1.313 GB, free: 89.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005151/2.539, allocations: 4.905 MB / 1.318 GB, free: 84.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/2.54, allocations: 1.201 MB / 1.319 GB, free: 82.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003447/2.544, allocations: 3.791 MB / 1.323 GB, free: 78.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/2.544, allocations: 43.56 kB / 1.323 GB, free: 78.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=115): time 2.825e-06/2.544, allocations: 0 / 1.323 GB, free: 78.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=115): time 0.003235/2.547, allocations: 2.142 MB / 1.325 GB, free: 76.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/2.547, allocations: 64.41 kB / 1.325 GB, free: 76.25 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/BasicControlValve.mo:27:3-28:92:writable] Warning: Parameter valveEqualPercentage.m_flow_ref_set has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter valveEqualPercentage.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter valveEqualPercentage.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter valveParabolic.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter valveParabolic.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/BasicControlValve.mo:27:3-28:92:writable] Warning: Parameter valveLinear.m_flow_ref_set has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter valveLinear.Cvs_UK has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/FlowControl/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter valveLinear.Cvs_US has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008047/2.548, allocations: 0.6897 MB / 1.326 GB, free: 75.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.174e-05/2.548, allocations: 41.7 kB / 1.326 GB, free: 75.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/2.548, allocations: 0.5573 MB / 1.326 GB, free: 74.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/2.548, allocations: 397.4 kB / 1.326 GB, free: 74.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/2.548, allocations: 20 kB / 1.326 GB, free: 74.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.612e-05/2.548, allocations: 341.9 kB / 1.327 GB, free: 74.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005447/2.549, allocations: 385.1 kB / 1.327 GB, free: 73.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/2.55, allocations: 472 kB / 1.328 GB, free: 73.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005908/2.55, allocations: 430.8 kB / 1.328 GB, free: 72.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/2.55, allocations: 0 / 1.328 GB, free: 72.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001842/2.552, allocations: 1.243 MB / 1.329 GB, free: 71.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/2.552, allocations: 8 kB / 1.329 GB, free: 71.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/2.552, allocations: 0 / 1.329 GB, free: 71.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004876/2.553, allocations: 157.9 kB / 1.329 GB, free: 71.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/2.553, allocations: 187.8 kB / 1.33 GB, free: 71.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/2.556, allocations: 4.517 MB / 1.334 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008729/2.557, allocations: 107.3 kB / 1.334 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.439e-05/2.557, allocations: 39.97 kB / 1.334 GB, free: 66.29 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005406/2.558, allocations: 249.7 kB / 1.334 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/2.558, allocations: 118.5 kB / 1.334 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/2.56, allocations: 1.465 MB / 1.336 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/2.56, allocations: 12 kB / 1.336 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/2.56, allocations: 7.938 kB / 1.336 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/2.56, allocations: 7.969 kB / 1.336 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003599/2.564, allocations: 2.711 MB / 1.339 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/2.564, allocations: 4 kB / 1.339 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/2.565, allocations: 187.7 kB / 1.339 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004407/2.565, allocations: 157.8 kB / 1.339 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.995e-05/2.565, allocations: 35.97 kB / 1.339 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002697/2.568, allocations: 4.531 MB / 1.343 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/2.568, allocations: 7.781 kB / 1.343 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/2.571, allocations: 1.94 MB / 1.345 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005644/2.571, allocations: 323.2 kB / 1.346 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/2.571, allocations: 24 kB / 1.346 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005827/2.572, allocations: 59.81 kB / 1.346 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/2.572, allocations: 88.86 kB / 1.346 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-05/2.572, allocations: 43.97 kB / 1.346 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006261/2.573, allocations: 0.5322 MB / 1.346 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/2.573, allocations: 0 / 1.346 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001724/2.575, allocations: 0.6121 MB / 1.347 GB, free: 52.64 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valveLinear.inlet.m_flow,valveParabolic.inlet.m_flow,valveEqualPercentage.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004229/2.579, allocations: 3.769 MB / 1.351 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002116/2.581, allocations: 1.482 MB / 1.352 GB, free: 47.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/2.581, allocations: 4 kB / 1.352 GB, free: 47.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/2.582, allocations: 1.042 MB / 1.353 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/2.584, allocations: 368.5 kB / 1.353 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/2.589, allocations: 4.05 MB / 1.357 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/2.589, allocations: 1.18 MB / 1.359 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007892/2.59, allocations: 202.4 kB / 1.359 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/2.59, allocations: 0.5344 MB / 1.359 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of SimCode: time 1.182e-06/2.59, allocations: 0 / 1.359 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.483/3.073, allocations: 41.47 MB / 1.4 GB, free: 99.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/3.074, allocations: 207.7 kB / 1.4 GB, free: 98.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.026/7.099, allocations: 0 / 1.4 GB, free: 98.88 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_BasicControlValve_fmu --startTime=0 --stopTime=20 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_BasicControlValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat does not exist to compare? outputFormat=mat