Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_OM_adaptions_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_OM_adaptions_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 3.2.3+maint.om/package.mo): time 0.008632/0.008631, allocations: 169.4 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.4 MB / 221.3 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009939/0.0009935, allocations: 86.89 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.919/0.919, allocations: 90.59 MB / 408.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003474, allocations: 8 kB / 485.3 MB, free: 1.969 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4875/0.4879, allocations: 66.28 MB / 0.5387 GB, free: 45.67 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8728/1.361, allocations: 441.4 MB / 0.9697 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/1.361, allocations: 88.41 kB / 0.9698 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.177/2.538, allocations: 256.9 MB / 1.221 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.585e-06/2.538, allocations: 0 / 1.221 GB, free: 103.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001271/2.538, allocations: 42.61 kB / 1.221 GB, free: 103.5 MB / 0.5886 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.004288/2.542, allocations: 1.815 MB / 1.223 GB, free: 103 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/2.542, allocations: 10.62 kB / 1.223 GB, free: 103 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000194/2.542, allocations: 160.8 kB / 1.223 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000453/2.543, allocations: 183.6 kB / 1.223 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/2.544, allocations: 0.7493 MB / 1.224 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.646e-05/2.544, allocations: 76.28 kB / 1.224 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/2.545, allocations: 114.5 kB / 1.224 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/2.546, allocations: 1.163 MB / 1.225 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/2.546, allocations: 0 / 1.225 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.25e-05/2.546, allocations: 47.92 kB / 1.225 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/2.546, allocations: 31.33 kB / 1.225 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/2.548, allocations: 1.123 MB / 1.226 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006002/2.554, allocations: 5.65 MB / 1.232 GB, free: 99.24 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/2.556, allocations: 1.255 MB / 1.233 GB, free: 99.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003565/2.56, allocations: 3.044 MB / 1.236 GB, free: 96.96 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/2.56, allocations: 43.75 kB / 1.236 GB, free: 96.92 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=128): time 4.057e-06/2.56, allocations: 6.266 kB / 1.236 GB, free: 96.92 MB / 0.5886 GB Notification: Performance of matching and sorting (n=128): time 0.004176/2.564, allocations: 2.935 MB / 1.239 GB, free: 95.35 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/2.564, allocations: 115.8 kB / 1.239 GB, free: 95.23 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/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 0.4.0-OM_adaptions/Undirected/FlowControl/SpecificValveType.mo:17:3-18:61: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 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:28:3-29: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 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:26:3-27: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 0.4.0-OM_adaptions/Undirected/FlowControl/BasicControlValve.mo:24:3-25: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.001422/2.565, allocations: 0.8606 MB / 1.24 GB, free: 95.08 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.525e-05/2.565, allocations: 50.27 kB / 1.24 GB, free: 95.05 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000352/2.566, allocations: 0.49 MB / 1.24 GB, free: 94.89 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/2.566, allocations: 437 kB / 1.241 GB, free: 94.65 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/2.566, allocations: 21.22 kB / 1.241 GB, free: 94.65 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001312/2.566, allocations: 357.3 kB / 1.241 GB, free: 94.34 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006513/2.567, allocations: 413.5 kB / 1.241 GB, free: 94.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007286/2.568, allocations: 0.5504 MB / 1.242 GB, free: 94.23 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007494/2.569, allocations: 489.4 kB / 1.242 GB, free: 94.21 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/2.569, allocations: 3.906 kB / 1.242 GB, free: 94.21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002355/2.571, allocations: 1.372 MB / 1.244 GB, free: 94.05 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/2.571, allocations: 7.875 kB / 1.244 GB, free: 94.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/2.571, allocations: 4.594 kB / 1.244 GB, free: 94.05 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005428/2.572, allocations: 169.1 kB / 1.244 GB, free: 94.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008053/2.572, allocations: 205.6 kB / 1.244 GB, free: 94.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004301/2.577, allocations: 6.778 MB / 1.251 GB, free: 87.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/2.578, allocations: 112.5 kB / 1.251 GB, free: 87.67 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/2.578, allocations: 48.84 kB / 1.251 GB, free: 87.67 MB / 0.5886 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.0008601/2.579, allocations: 307.8 kB / 1.251 GB, free: 87.55 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003484/2.579, allocations: 128.6 kB / 1.251 GB, free: 87.48 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003814/2.583, allocations: 1.559 MB / 1.253 GB, free: 87.34 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.561e-05/2.583, allocations: 19.14 kB / 1.253 GB, free: 87.34 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/2.583, allocations: 10.2 kB / 1.253 GB, free: 87.34 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/2.583, allocations: 11.83 kB / 1.253 GB, free: 87.34 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004662/2.588, allocations: 2.048 MB / 1.255 GB, free: 86.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/2.588, allocations: 4.656 kB / 1.255 GB, free: 86.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008136/2.589, allocations: 178.8 kB / 1.255 GB, free: 86.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005311/2.589, allocations: 159 kB / 1.255 GB, free: 86.91 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/2.59, allocations: 39.94 kB / 1.255 GB, free: 86.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005151/2.595, allocations: 6.786 MB / 1.262 GB, free: 80.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/2.595, allocations: 2.125 kB / 1.262 GB, free: 80.64 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004967/2.6, allocations: 2.189 MB / 1.264 GB, free: 80.14 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/2.601, allocations: 399.6 kB / 1.264 GB, free: 79.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/2.601, allocations: 25.83 kB / 1.264 GB, free: 79.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007952/2.602, allocations: 44.45 kB / 1.264 GB, free: 79.95 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/2.602, allocations: 100.2 kB / 1.265 GB, free: 79.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/2.602, allocations: 44.12 kB / 1.265 GB, free: 79.95 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001234/2.604, allocations: 0.6699 MB / 1.265 GB, free: 79.84 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.41e-07/2.604, allocations: 1.344 kB / 1.265 GB, free: 79.84 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00285/2.606, allocations: 0.526 MB / 1.266 GB, free: 79.78 MB / 0.5886 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.00701/2.613, allocations: 3.889 MB / 1.27 GB, free: 78.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003376/2.617, allocations: 1.75 MB / 1.271 GB, free: 77.77 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/2.617, allocations: 0 / 1.271 GB, free: 77.77 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001882/2.619, allocations: 1.239 MB / 1.272 GB, free: 77.15 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/2.621, allocations: 357.3 kB / 1.273 GB, free: 77.14 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007008/2.628, allocations: 5.862 MB / 1.279 GB, free: 73.23 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007828/2.629, allocations: 1.166 MB / 1.28 GB, free: 72.53 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001167/2.63, allocations: 248.9 kB / 1.28 GB, free: 72.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007302/2.631, allocations: 0.4909 MB / 1.28 GB, free: 72.49 MB / 0.5886 GB Notification: Performance of SimCode: time 1.773e-06/2.631, allocations: 0 / 1.28 GB, free: 72.49 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08978/2.721, allocations: 38.02 MB / 1.318 GB, free: 70.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/2.721, allocations: 284.3 kB / 1.318 GB, free: 70.23 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.909/6.63, allocations: 0 / 1.318 GB, free: 70.23 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Interfaces_Tests_Test_p_out_clipping.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Interfaces.Tests.Test_p_out_clipping_res.mat does not exist to compare? outputFormat=mat