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.001376/0.001376, 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 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0009962/0.0009967, allocations: 97.25 kB / 266.6 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8086/0.8086, allocations: 90.34 MB / 405 MB, free: 8.613 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.036e-05/4.04e-05, allocations: 4 kB / 479.2 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3652, allocations: 66.27 MB / 0.5327 GB, free: 28.65 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.097/1.463, allocations: 441.3 MB / 0.9637 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/1.463, allocations: 92.94 kB / 0.9638 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.7727/2.236, allocations: 256 MB / 1.214 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.703e-06/2.236, allocations: 0 / 1.214 GB, free: 129.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.572e-05/2.236, allocations: 36.64 kB / 1.214 GB, free: 129.1 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.003661/2.239, allocations: 1.667 MB / 1.216 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/2.24, allocations: 11 kB / 1.216 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000192/2.24, allocations: 158.6 kB / 1.216 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004361/2.24, allocations: 186.7 kB / 1.216 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/2.241, allocations: 0.7486 MB / 1.217 GB, free: 127.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.53e-05/2.241, allocations: 75.84 kB / 1.217 GB, free: 127.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/2.242, allocations: 106.1 kB / 1.217 GB, free: 127.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/2.243, allocations: 1.152 MB / 1.218 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/2.243, allocations: 0 / 1.218 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.245e-05/2.243, allocations: 47.86 kB / 1.218 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/2.243, allocations: 25.72 kB / 1.218 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/2.245, allocations: 1.095 MB / 1.219 GB, free: 127.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00586/2.251, allocations: 5.654 MB / 1.225 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/2.253, allocations: 1.238 MB / 1.226 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006725/2.253, allocations: 0.5455 MB / 1.226 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003245/2.256, allocations: 3.079 MB / 1.229 GB, free: 122.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/2.257, allocations: 51.73 kB / 1.229 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=128): time 3.056e-06/2.257, allocations: 0 / 1.229 GB, free: 122.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=128): time 0.002063/2.259, allocations: 1.234 MB / 1.231 GB, free: 121.9 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/2.259, allocations: 113.9 kB / 1.231 GB, free: 121.8 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.001053/2.26, allocations: 0.8586 MB / 1.231 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.065e-05/2.26, allocations: 41.05 kB / 1.232 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/2.26, allocations: 0.4991 MB / 1.232 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/2.26, allocations: 441.5 kB / 1.232 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/2.26, allocations: 19.97 kB / 1.232 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001048/2.26, allocations: 357.2 kB / 1.233 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/2.261, allocations: 403.3 kB / 1.233 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/2.262, allocations: 0.5448 MB / 1.234 GB, free: 120 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006728/2.262, allocations: 478.8 kB / 1.234 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/2.262, allocations: 3.531 kB / 1.234 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002053/2.264, allocations: 1.362 MB / 1.235 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/2.264, allocations: 7.281 kB / 1.236 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/2.264, allocations: 6.797 kB / 1.236 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004831/2.265, allocations: 156.8 kB / 1.236 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007214/2.266, allocations: 217.4 kB / 1.236 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003564/2.269, allocations: 6.713 MB / 1.242 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/2.27, allocations: 115.6 kB / 1.243 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/2.271, allocations: 51.33 kB / 1.243 GB, free: 112.5 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 () * 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.0001982/2.271, allocations: 177.2 kB / 1.243 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/2.271, allocations: 121.3 kB / 1.243 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002782/2.274, allocations: 1.559 MB / 1.244 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/2.274, allocations: 26.98 kB / 1.244 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/2.274, allocations: 3.906 kB / 1.244 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/2.274, allocations: 3.891 kB / 1.244 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/2.277, allocations: 2.04 MB / 1.246 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/2.277, allocations: 0 / 1.246 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/2.277, allocations: 174.5 kB / 1.247 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004158/2.278, allocations: 166.5 kB / 1.247 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-05/2.278, allocations: 44.88 kB / 1.247 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003372/2.281, allocations: 6.72 MB / 1.253 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/2.281, allocations: 2.25 kB / 1.253 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/2.284, allocations: 2.169 MB / 1.255 GB, free: 102.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006449/2.285, allocations: 397.9 kB / 1.256 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/2.285, allocations: 26.31 kB / 1.256 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006474/2.286, allocations: 47.38 kB / 1.256 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/2.286, allocations: 90.44 kB / 1.256 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.038e-05/2.286, allocations: 52.05 kB / 1.256 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007928/2.287, allocations: 0.661 MB / 1.257 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.41e-07/2.287, allocations: 3.219 kB / 1.257 GB, free: 102.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001704/2.288, allocations: 0.5193 MB / 1.257 GB, free: 102 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 () * 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.004339/2.293, allocations: 3.816 MB / 1.261 GB, free: 99.86 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002166/2.295, allocations: 1.727 MB / 1.263 GB, free: 98.82 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/2.295, allocations: 0 / 1.263 GB, free: 98.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/2.296, allocations: 1.23 MB / 1.264 GB, free: 97.96 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/2.298, allocations: 352.1 kB / 1.264 GB, free: 97.87 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/2.302, allocations: 2.24 MB / 1.266 GB, free: 96.95 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/2.302, allocations: 1.173 MB / 1.267 GB, free: 96.21 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0008865/2.303, allocations: 239 kB / 1.268 GB, free: 96.13 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005302/2.304, allocations: 498.7 kB / 1.268 GB, free: 95.77 MB / 0.5886 GB Notification: Performance of SimCode: time 1.322e-06/2.304, allocations: 3.375 kB / 1.268 GB, free: 95.77 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05656/2.36, allocations: 39.25 MB / 1.307 GB, free: 67.44 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/2.36, allocations: 249.9 kB / 1.307 GB, free: 67.09 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.494/5.855, allocations: 0 / 1.307 GB, free: 67.09 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