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.001037/0.001037, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.5 MB / 229.6 MB, free: 3.184 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.0008931/0.0008932, allocations: 98.45 kB / 280.5 MB, free: 1.141 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.009514/0.009514, allocations: 1.573 MB / 332.8 MB, free: 12.76 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5568/0.5568, allocations: 90.06 MB / 474 MB, free: 7.062 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.104e-05/2.106e-05, allocations: 0 / 0.5376 GB, free: 13.8 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1684, allocations: 69.36 MB / 0.6053 GB, free: 8.359 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/1.243, allocations: 353.5 MB / 0.9505 GB, free: 76.37 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/1.244, allocations: 71.34 kB / 0.9505 GB, free: 76.34 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.032/2.275, allocations: 346.1 MB / 1.289 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/2.275, allocations: 0 / 1.289 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001832/2.276, allocations: 51.97 kB / 1.289 GB, free: 15.36 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.00481/2.28, allocations: 1.777 MB / 1.29 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/2.28, allocations: 8.031 kB / 1.29 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008628/2.281, allocations: 197.9 kB / 1.291 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/2.283, allocations: 0.7775 MB / 1.291 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.045e-05/2.283, allocations: 40 kB / 1.291 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/2.283, allocations: 71.91 kB / 1.291 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001743/2.285, allocations: 1.039 MB / 1.292 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/2.287, allocations: 0.8932 MB / 1.293 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/2.287, allocations: 3.938 kB / 1.293 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.938e-05/2.287, allocations: 0 / 1.293 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.738e-05/2.287, allocations: 36 kB / 1.293 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0052/2.292, allocations: 4.699 MB / 1.298 GB, free: 5.207 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/2.293, allocations: 1.117 MB / 1.299 GB, free: 4.074 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/2.294, allocations: 498.7 kB / 1.3 GB, free: 3.594 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3964/2.69, allocations: 3.761 MB / 1.303 GB, free: 94.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/2.691, allocations: 46.56 kB / 1.303 GB, free: 94.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=115): time 3.386e-06/2.691, allocations: 0 / 1.303 GB, free: 94.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=115): time 0.002788/2.693, allocations: 1.054 MB / 1.304 GB, free: 94.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/2.693, allocations: 66.45 kB / 1.304 GB, free: 94.24 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.0009372/2.694, allocations: 0.5936 MB / 1.305 GB, free: 94.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/2.694, allocations: 31.88 kB / 1.305 GB, free: 94.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004884/2.695, allocations: 0.5573 MB / 1.305 GB, free: 93.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/2.695, allocations: 378.5 kB / 1.306 GB, free: 93.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/2.695, allocations: 0 / 1.306 GB, free: 93.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001049/2.695, allocations: 342.3 kB / 1.306 GB, free: 93.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005599/2.696, allocations: 336.6 kB / 1.306 GB, free: 93.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006744/2.697, allocations: 422.3 kB / 1.307 GB, free: 93.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/2.698, allocations: 367.9 kB / 1.307 GB, free: 93.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/2.698, allocations: 0 / 1.307 GB, free: 93.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002779/2.701, allocations: 1.104 MB / 1.308 GB, free: 93.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/2.701, allocations: 6.703 kB / 1.308 GB, free: 93.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/2.701, allocations: 1.562 kB / 1.308 GB, free: 93.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005409/2.701, allocations: 148.6 kB / 1.308 GB, free: 93.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008065/2.702, allocations: 191.2 kB / 1.309 GB, free: 93.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00337/2.706, allocations: 4.316 MB / 1.313 GB, free: 89.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009404/2.707, allocations: 81.2 kB / 1.313 GB, free: 89.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/2.707, allocations: 42.92 kB / 1.313 GB, free: 89.55 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.0002076/2.707, allocations: 114 kB / 1.313 GB, free: 89.45 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00318/2.71, allocations: 1.05 MB / 1.314 GB, free: 89.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/2.71, allocations: 112.1 kB / 1.314 GB, free: 89.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/2.714, allocations: 1.32 MB / 1.316 GB, free: 89.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/2.714, allocations: 11.81 kB / 1.316 GB, free: 89.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/2.714, allocations: 9.547 kB / 1.316 GB, free: 89.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/2.714, allocations: 3.422 kB / 1.316 GB, free: 89.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004341/2.718, allocations: 2.432 MB / 1.318 GB, free: 88.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/2.718, allocations: 4.391 kB / 1.318 GB, free: 88.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006634/2.719, allocations: 186.4 kB / 1.318 GB, free: 88.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004611/2.719, allocations: 154.1 kB / 1.318 GB, free: 88.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.652e-05/2.719, allocations: 26.8 kB / 1.318 GB, free: 88.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002806/2.722, allocations: 4.311 MB / 1.322 GB, free: 85.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/2.722, allocations: 5.688 kB / 1.322 GB, free: 85.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003284/2.725, allocations: 1.777 MB / 1.324 GB, free: 84.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/2.726, allocations: 310 kB / 1.325 GB, free: 84.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/2.726, allocations: 7.75 kB / 1.325 GB, free: 84.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005401/2.726, allocations: 42.14 kB / 1.325 GB, free: 84.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/2.727, allocations: 90.33 kB / 1.325 GB, free: 84.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.861e-05/2.727, allocations: 40.77 kB / 1.325 GB, free: 84.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005877/2.727, allocations: 458.2 kB / 1.325 GB, free: 84.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.22e-07/2.727, allocations: 0 / 1.325 GB, free: 84.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001674/2.729, allocations: 0.5769 MB / 1.326 GB, free: 84.42 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.004713/2.734, allocations: 3.595 MB / 1.329 GB, free: 83.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001952/2.736, allocations: 1.357 MB / 1.331 GB, free: 82.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/2.736, allocations: 3.719 kB / 1.331 GB, free: 82.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/2.737, allocations: 0.9664 MB / 1.331 GB, free: 82.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/2.739, allocations: 346.6 kB / 1.332 GB, free: 82.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/2.742, allocations: 1.906 MB / 1.334 GB, free: 81.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007975/2.743, allocations: 1.174 MB / 1.335 GB, free: 81.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0007953/2.744, allocations: 207.2 kB / 1.335 GB, free: 80.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006109/2.744, allocations: 0.5243 MB / 1.336 GB, free: 80.98 MB / 0.6042 GB Notification: Performance of SimCode: time 8.41e-07/2.744, allocations: 1.469 kB / 1.336 GB, free: 80.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0731/2.818, allocations: 35.34 MB / 1.37 GB, free: 79.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/2.818, allocations: 159.9 kB / 1.37 GB, free: 79.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.503/6.321, allocations: 0 / 1.37 GB, free: 79.53 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