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.001913/0.001913, allocations: 174.7 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.483/1.483, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.001089/0.001089, allocations: 87.42 kB / 285.6 MB, free: 13 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.01543/0.01543, allocations: 1.557 MB / 338 MB, free: 8.488 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6294/0.6294, allocations: 90.04 MB / 479.3 MB, free: 2.996 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.645e-05/3.647e-05, allocations: 7.984 kB / 0.5446 GB, free: 7.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1757, allocations: 69.36 MB / 0.6123 GB, free: 2.461 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.292/1.468, allocations: 441.9 MB / 1.044 GB, free: 8.797 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/1.468, allocations: 83.52 kB / 1.044 GB, free: 8.758 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.359/2.827, allocations: 261.4 MB / 1.299 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.415e-06/2.827, allocations: 0.5938 kB / 1.299 GB, free: 106.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002333/2.827, allocations: 34.97 kB / 1.299 GB, free: 106.1 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005602/2.833, allocations: 1.666 MB / 1.301 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/2.833, allocations: 20.34 kB / 1.301 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003713/2.833, allocations: 159.1 kB / 1.301 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006904/2.834, allocations: 183.9 kB / 1.301 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/2.836, allocations: 0.7459 MB / 1.302 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-05/2.836, allocations: 78.55 kB / 1.302 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/2.836, allocations: 106 kB / 1.302 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/2.838, allocations: 1.146 MB / 1.303 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/2.838, allocations: 5.312 kB / 1.303 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/2.839, allocations: 41.5 kB / 1.303 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.802e-05/2.839, allocations: 37.73 kB / 1.303 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/2.841, allocations: 1.093 MB / 1.304 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008702/2.849, allocations: 5.647 MB / 1.31 GB, free: 102 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/2.852, allocations: 1.224 MB / 1.311 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000934/2.853, allocations: 0.5456 MB / 1.312 GB, free: 101.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005252/2.858, allocations: 3.103 MB / 1.315 GB, free: 99.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.098e-05/2.858, allocations: 48.16 kB / 1.315 GB, free: 99.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=128): time 5.68e-06/2.858, allocations: 0 / 1.315 GB, free: 99.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=128): time 0.003095/2.861, allocations: 1.234 MB / 1.316 GB, free: 99.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.895e-05/2.861, allocations: 118.4 kB / 1.316 GB, free: 99.36 MB / 0.6042 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.002029/2.863, allocations: 0.852 MB / 1.317 GB, free: 99.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.644e-05/2.863, allocations: 46.27 kB / 1.317 GB, free: 99.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005026/2.864, allocations: 0.4895 MB / 1.317 GB, free: 99.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/2.864, allocations: 444.3 kB / 1.318 GB, free: 98.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/2.864, allocations: 22.09 kB / 1.318 GB, free: 98.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001468/2.864, allocations: 355.6 kB / 1.318 GB, free: 98.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008033/2.865, allocations: 404.9 kB / 1.319 GB, free: 98.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/2.866, allocations: 0.5399 MB / 1.319 GB, free: 98.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009786/2.867, allocations: 481.1 kB / 1.32 GB, free: 98.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/2.867, allocations: 1.094 kB / 1.32 GB, free: 98.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002887/2.87, allocations: 1.359 MB / 1.321 GB, free: 98.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/2.87, allocations: 6.219 kB / 1.321 GB, free: 98.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/2.87, allocations: 3.906 kB / 1.321 GB, free: 98.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005833/2.871, allocations: 159.3 kB / 1.321 GB, free: 98.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007726/2.872, allocations: 213.5 kB / 1.321 GB, free: 98.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003825/2.875, allocations: 6.723 MB / 1.328 GB, free: 91.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/2.877, allocations: 118.7 kB / 1.328 GB, free: 91.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/2.877, allocations: 46.95 kB / 1.328 GB, free: 91.84 MB / 0.6042 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 () * 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.0002132/2.877, allocations: 181.5 kB / 1.328 GB, free: 91.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/2.877, allocations: 125.3 kB / 1.328 GB, free: 91.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00314/2.881, allocations: 1.542 MB / 1.33 GB, free: 91.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.049e-05/2.881, allocations: 13.78 kB / 1.33 GB, free: 91.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/2.881, allocations: 8.922 kB / 1.33 GB, free: 91.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/2.881, allocations: 8.469 kB / 1.33 GB, free: 91.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003557/2.884, allocations: 2.041 MB / 1.332 GB, free: 91.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/2.884, allocations: 4 kB / 1.332 GB, free: 91.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006892/2.885, allocations: 176.6 kB / 1.332 GB, free: 91.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000471/2.885, allocations: 167 kB / 1.332 GB, free: 91.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-05/2.885, allocations: 38.77 kB / 1.332 GB, free: 91.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004056/2.89, allocations: 6.724 MB / 1.339 GB, free: 84.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/2.89, allocations: 3.5 kB / 1.339 GB, free: 84.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004249/2.894, allocations: 2.164 MB / 1.341 GB, free: 84.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/2.895, allocations: 402.7 kB / 1.341 GB, free: 84.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/2.895, allocations: 23.44 kB / 1.341 GB, free: 84.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007101/2.896, allocations: 48.81 kB / 1.341 GB, free: 84.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/2.896, allocations: 102.5 kB / 1.341 GB, free: 84.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/2.896, allocations: 45.58 kB / 1.341 GB, free: 84.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001112/2.897, allocations: 0.6549 MB / 1.342 GB, free: 84.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.9e-07/2.897, allocations: 0 / 1.342 GB, free: 84.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002672/2.9, allocations: 0.5301 MB / 1.343 GB, free: 83.99 MB / 0.6042 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 () * 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.006144/2.906, allocations: 3.818 MB / 1.346 GB, free: 82.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003089/2.909, allocations: 1.722 MB / 1.348 GB, free: 82.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/2.909, allocations: 2.938 kB / 1.348 GB, free: 82.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001704/2.911, allocations: 1.227 MB / 1.349 GB, free: 81.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/2.913, allocations: 348.5 kB / 1.35 GB, free: 81.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004816/2.918, allocations: 2.243 MB / 1.352 GB, free: 80.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/2.919, allocations: 1.164 MB / 1.353 GB, free: 80.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001061/2.92, allocations: 242.6 kB / 1.353 GB, free: 80.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006227/2.921, allocations: 0.4969 MB / 1.354 GB, free: 80.09 MB / 0.6042 GB Notification: Performance of SimCode: time 1.142e-06/2.921, allocations: 2.594 kB / 1.354 GB, free: 80.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06784/2.988, allocations: 39.23 MB / 1.392 GB, free: 78.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/2.989, allocations: 243.2 kB / 1.392 GB, free: 78.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.541/6.529, allocations: 0 / 1.392 GB, free: 78.35 MB / 0.6042 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