Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.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.Undirected.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping",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.01004/0.01004, allocations: 170 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.557/1.557, allocations: 223.2 MB / 239 MB, free: 40 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 102.6 kB / 290.2 MB, free: 4.555 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.01316/0.01316, allocations: 1.558 MB / 342.9 MB, free: 11.36 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8848/0.8848, allocations: 90.32 MB / 484.7 MB, free: 39.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.0004947, allocations: 20 kB / 0.5527 GB, free: 6.461 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3942, allocations: 69.35 MB / 0.6204 GB, free: 20.79 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.298/1.693, allocations: 442 MB / 1.052 GB, free: 198.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/1.693, allocations: 87.95 kB / 1.052 GB, free: 198.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.9388/2.632, allocations: 262.3 MB / 1.308 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.488e-06/2.632, allocations: 0 / 1.308 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001161/2.632, allocations: 40.88 kB / 1.308 GB, free: 147.8 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004558/2.636, allocations: 1.821 MB / 1.31 GB, free: 146.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/2.637, allocations: 14.7 kB / 1.31 GB, free: 146.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001933/2.637, allocations: 165.4 kB / 1.31 GB, free: 146.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004451/2.637, allocations: 181.5 kB / 1.31 GB, free: 146.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/2.639, allocations: 0.7436 MB / 1.311 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.685e-05/2.639, allocations: 78.91 kB / 1.311 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/2.639, allocations: 112.3 kB / 1.311 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/2.641, allocations: 1.163 MB / 1.312 GB, free: 146.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/2.641, allocations: 1.031 kB / 1.312 GB, free: 146.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.949e-05/2.641, allocations: 43.81 kB / 1.312 GB, free: 146.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-05/2.641, allocations: 31.83 kB / 1.313 GB, free: 146.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/2.642, allocations: 1.121 MB / 1.314 GB, free: 146.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005834/2.648, allocations: 5.646 MB / 1.319 GB, free: 143.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/2.65, allocations: 1.249 MB / 1.32 GB, free: 143 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003075/2.653, allocations: 3.048 MB / 1.323 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/2.653, allocations: 44.62 kB / 1.323 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=128): time 3.326e-06/2.653, allocations: 0 / 1.323 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=128): time 0.003732/2.657, allocations: 2.943 MB / 1.326 GB, free: 139.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/2.657, allocations: 115.3 kB / 1.326 GB, free: 139 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/Undirected/FlowControl/SpecificValveType.mo:27:3-28:92:writable] Warning: Parameter specificValveType.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/Undirected/FlowControl/SpecificValveType.mo:25:3-26:88:writable] Warning: Parameter specificValveType.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/Undirected/FlowControl/SpecificValveType.mo:23:3-24:88:writable] Warning: Parameter specificValveType.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/Undirected/FlowControl/SpecificValveType.mo:16:3-18:44:writable] Warning: Parameter specificValveType.d_valve 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/Undirected/FlowControl/BasicControlValve.mo:27:3-28:92:writable] Warning: Parameter basicControlValve.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/Undirected/FlowControl/BasicControlValve.mo:25:3-26:88:writable] Warning: Parameter basicControlValve.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/Undirected/FlowControl/BasicControlValve.mo:23:3-24:88:writable] Warning: Parameter basicControlValve.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.001092/2.658, allocations: 0.8683 MB / 1.327 GB, free: 138.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.415e-05/2.658, allocations: 43.3 kB / 1.327 GB, free: 138.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/2.658, allocations: 0.4892 MB / 1.328 GB, free: 138.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/2.658, allocations: 442.6 kB / 1.328 GB, free: 138.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/2.659, allocations: 21.81 kB / 1.328 GB, free: 138.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.599e-05/2.659, allocations: 353.5 kB / 1.328 GB, free: 138.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006204/2.659, allocations: 413.6 kB / 1.329 GB, free: 138.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00073/2.66, allocations: 0.5531 MB / 1.329 GB, free: 137.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007116/2.661, allocations: 481.7 kB / 1.33 GB, free: 137.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/2.661, allocations: 0 / 1.33 GB, free: 137.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002122/2.663, allocations: 1.387 MB / 1.331 GB, free: 137.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/2.663, allocations: 6.516 kB / 1.331 GB, free: 137.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/2.663, allocations: 9.516 kB / 1.331 GB, free: 137.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004941/2.663, allocations: 162 kB / 1.331 GB, free: 137.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007891/2.664, allocations: 208 kB / 1.332 GB, free: 137.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003953/2.668, allocations: 6.773 MB / 1.338 GB, free: 131.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/2.669, allocations: 112.7 kB / 1.338 GB, free: 131.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/2.669, allocations: 50.45 kB / 1.338 GB, free: 131 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (131): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005807/2.67, allocations: 297.8 kB / 1.339 GB, free: 130.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/2.67, allocations: 133.6 kB / 1.339 GB, free: 130.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/2.673, allocations: 1.566 MB / 1.34 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/2.673, allocations: 18.53 kB / 1.34 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/2.673, allocations: 3.062 kB / 1.34 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/2.673, allocations: 4.875 kB / 1.34 GB, free: 130.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/2.676, allocations: 2.062 MB / 1.342 GB, free: 129.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/2.676, allocations: 0 / 1.342 GB, free: 129.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/2.676, allocations: 179.8 kB / 1.343 GB, free: 129.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004185/2.677, allocations: 160.4 kB / 1.343 GB, free: 129.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.189e-05/2.677, allocations: 41.14 kB / 1.343 GB, free: 129 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003687/2.681, allocations: 6.788 MB / 1.349 GB, free: 122.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/2.681, allocations: 0 / 1.349 GB, free: 122.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003111/2.684, allocations: 2.195 MB / 1.351 GB, free: 121.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008442/2.685, allocations: 409.6 kB / 1.352 GB, free: 120.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/2.685, allocations: 19.88 kB / 1.352 GB, free: 120.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007164/2.686, allocations: 49.22 kB / 1.352 GB, free: 120.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/2.686, allocations: 94.41 kB / 1.352 GB, free: 120.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.711e-05/2.686, allocations: 45.52 kB / 1.352 GB, free: 120.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000942/2.687, allocations: 0.6696 MB / 1.353 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/2.687, allocations: 3.875 kB / 1.353 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002088/2.689, allocations: 0.5184 MB / 1.353 GB, free: 120.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (basicControlValve.m_flow,specificValveType.m_flow,tanValve.m_flow,flowResistance.m_flow,flowResistance1.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 (112): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005199/2.694, allocations: 3.887 MB / 1.357 GB, free: 118.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002577/2.697, allocations: 1.743 MB / 1.359 GB, free: 117.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/2.697, allocations: 5.062 kB / 1.359 GB, free: 117.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/2.698, allocations: 1.236 MB / 1.36 GB, free: 116.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/2.7, allocations: 351.2 kB / 1.36 GB, free: 116.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005426/2.705, allocations: 5.86 MB / 1.366 GB, free: 112.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/2.706, allocations: 1.176 MB / 1.367 GB, free: 111.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009211/2.707, allocations: 246.2 kB / 1.367 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/2.707, allocations: 0.4915 MB / 1.368 GB, free: 110.9 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/2.707, allocations: 0 / 1.368 GB, free: 110.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06001/2.767, allocations: 38.02 MB / 1.405 GB, free: 82.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/2.768, allocations: 260.2 kB / 1.405 GB, free: 82.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.664/6.431, allocations: 4 kB / 1.405 GB, free: 82.09 MB / 0.6198 GB (rm -f ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping.fmu > ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat does not exist to compare? outputFormat=mat