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.001273/0.001273, allocations: 174.9 kB / 12.73 MB, free: 2.59 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.612/1.612, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 91.33 kB / 285.6 MB, free: 12.97 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.01705/0.01705, allocations: 1.557 MB / 338 MB, free: 8.457 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6668/0.6668, allocations: 90.05 MB / 479.4 MB, free: 2.953 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.176e-05/4.191e-05, allocations: 7.984 kB / 0.5446 GB, free: 7.879 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1732, allocations: 69.36 MB / 0.6123 GB, free: 2.434 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.32/1.493, allocations: 354.1 MB / 0.9581 GB, free: 62.74 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/1.493, allocations: 74.58 kB / 0.9582 GB, free: 62.71 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.69/3.184, allocations: 347.8 MB / 1.298 GB, free: 90.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.474e-06/3.184, allocations: 2.344 kB / 1.298 GB, free: 90.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002262/3.184, allocations: 40.89 kB / 1.298 GB, free: 90.06 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.005642/3.189, allocations: 1.778 MB / 1.3 GB, free: 89.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/3.19, allocations: 20.52 kB / 1.3 GB, free: 89.63 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004257/3.19, allocations: 174.8 kB / 1.3 GB, free: 89.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007689/3.191, allocations: 192.8 kB / 1.3 GB, free: 89.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/3.193, allocations: 0.7763 MB / 1.301 GB, free: 89.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-05/3.193, allocations: 87.31 kB / 1.301 GB, free: 89.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/3.193, allocations: 118 kB / 1.301 GB, free: 89.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/3.195, allocations: 1.049 MB / 1.302 GB, free: 89.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/3.195, allocations: 2.656 kB / 1.302 GB, free: 89.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/3.196, allocations: 47.88 kB / 1.302 GB, free: 89.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/3.196, allocations: 32.25 kB / 1.302 GB, free: 89.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/3.198, allocations: 1.096 MB / 1.303 GB, free: 89.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007395/3.205, allocations: 4.901 MB / 1.308 GB, free: 86.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/3.207, allocations: 1.18 MB / 1.309 GB, free: 86.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008746/3.208, allocations: 0.5159 MB / 1.31 GB, free: 86.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005111/3.213, allocations: 3.814 MB / 1.313 GB, free: 83.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/3.213, allocations: 51.31 kB / 1.313 GB, free: 83.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=115): time 3.376e-06/3.213, allocations: 0 / 1.313 GB, free: 83.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=115): time 0.002599/3.216, allocations: 1.134 MB / 1.314 GB, free: 83.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/3.216, allocations: 63.41 kB / 1.315 GB, free: 83.3 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.001312/3.217, allocations: 0.6862 MB / 1.315 GB, free: 83.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.475e-05/3.218, allocations: 47.2 kB / 1.315 GB, free: 83.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/3.218, allocations: 0.5549 MB / 1.316 GB, free: 82.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003538/3.218, allocations: 389.6 kB / 1.316 GB, free: 82.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/3.218, allocations: 25.12 kB / 1.316 GB, free: 82.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001158/3.219, allocations: 344.7 kB / 1.317 GB, free: 82.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007057/3.219, allocations: 356.6 kB / 1.317 GB, free: 82.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009082/3.22, allocations: 439.1 kB / 1.317 GB, free: 82.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/3.221, allocations: 408.2 kB / 1.318 GB, free: 82.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/3.221, allocations: 0 / 1.318 GB, free: 82.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00314/3.224, allocations: 1.193 MB / 1.319 GB, free: 82.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/3.224, allocations: 5.281 kB / 1.319 GB, free: 82.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/3.224, allocations: 0 / 1.319 GB, free: 82.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/3.225, allocations: 153.1 kB / 1.319 GB, free: 82.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008837/3.226, allocations: 195.9 kB / 1.319 GB, free: 82.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003365/3.229, allocations: 4.465 MB / 1.324 GB, free: 78.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/3.231, allocations: 103.7 kB / 1.324 GB, free: 78.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/3.231, allocations: 38.94 kB / 1.324 GB, free: 78.41 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 () * 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.0002556/3.231, allocations: 156.2 kB / 1.324 GB, free: 78.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003407/3.231, allocations: 112.1 kB / 1.324 GB, free: 78.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003123/3.235, allocations: 1.426 MB / 1.325 GB, free: 78.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/3.235, allocations: 11.47 kB / 1.325 GB, free: 78.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/3.235, allocations: 0 / 1.325 GB, free: 78.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/3.235, allocations: 7.078 kB / 1.325 GB, free: 78.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005814/3.24, allocations: 2.668 MB / 1.328 GB, free: 77.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/3.24, allocations: 1.094 kB / 1.328 GB, free: 77.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007692/3.241, allocations: 185.7 kB / 1.328 GB, free: 77.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005988/3.242, allocations: 153.9 kB / 1.328 GB, free: 77.67 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/3.242, allocations: 35.98 kB / 1.328 GB, free: 77.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003599/3.246, allocations: 4.469 MB / 1.333 GB, free: 73.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/3.246, allocations: 5.266 kB / 1.333 GB, free: 73.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00435/3.25, allocations: 1.87 MB / 1.334 GB, free: 73.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/3.252, allocations: 318.8 kB / 1.335 GB, free: 73.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006106/3.252, allocations: 28.3 kB / 1.335 GB, free: 73.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/3.254, allocations: 60.75 kB / 1.335 GB, free: 73.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004729/3.254, allocations: 91.12 kB / 1.335 GB, free: 73.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002092/3.254, allocations: 40.95 kB / 1.335 GB, free: 73.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001746/3.256, allocations: 0.5219 MB / 1.336 GB, free: 73.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.71e-07/3.256, allocations: 1.531 kB / 1.336 GB, free: 73.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003852/3.26, allocations: 0.6118 MB / 1.336 GB, free: 73.25 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 () * 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.006968/3.267, allocations: 3.688 MB / 1.34 GB, free: 71.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002726/3.27, allocations: 1.418 MB / 1.341 GB, free: 71.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/3.27, allocations: 3.781 kB / 1.341 GB, free: 71.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001556/3.271, allocations: 1.013 MB / 1.342 GB, free: 71.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/3.274, allocations: 362.5 kB / 1.342 GB, free: 71.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006399/3.28, allocations: 2.014 MB / 1.344 GB, free: 70.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009851/3.281, allocations: 1.172 MB / 1.346 GB, free: 69.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00114/3.283, allocations: 214.7 kB / 1.346 GB, free: 69.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007281/3.283, allocations: 0.526 MB / 1.346 GB, free: 69.73 MB / 0.6042 GB Notification: Performance of SimCode: time 1.383e-06/3.283, allocations: 0 / 1.346 GB, free: 69.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0883/3.372, allocations: 43.35 MB / 1.389 GB, free: 68.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/3.372, allocations: 174.1 kB / 1.389 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.966/7.338, allocations: 0 / 1.389 GB, free: 68.04 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