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.001077/0.001077, allocations: 172 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008604/0.0008605, allocations: 96.75 kB / 261.4 MB, free: 13.45 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.7002/0.7002, allocations: 90.36 MB / 399.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.819e-05/1.814e-05, allocations: 4 kB / 472.3 MB, free: 3.363 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3349, allocations: 66.25 MB / 0.5259 GB, free: 28.99 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.342, allocations: 440.7 MB / 0.9563 GB, free: 214.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/1.343, allocations: 91.94 kB / 0.9564 GB, free: 214.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8209/2.164, allocations: 254.7 MB / 1.205 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.903e-06/2.164, allocations: 0 / 1.205 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002006/2.164, allocations: 39.98 kB / 1.205 GB, free: 117.2 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.005832/2.17, allocations: 1.665 MB / 1.207 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/2.17, allocations: 9.625 kB / 1.207 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/2.171, allocations: 187.3 kB / 1.207 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/2.173, allocations: 0.7394 MB / 1.208 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.644e-05/2.173, allocations: 36.17 kB / 1.208 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003337/2.173, allocations: 68.81 kB / 1.208 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002288/2.176, allocations: 1.037 MB / 1.209 GB, free: 116.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/2.178, allocations: 1.013 MB / 1.21 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/2.178, allocations: 3.938 kB / 1.21 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.33e-05/2.178, allocations: 3.953 kB / 1.21 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/2.178, allocations: 37.89 kB / 1.21 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00737/2.185, allocations: 5.451 MB / 1.215 GB, free: 112.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/2.187, allocations: 1.177 MB / 1.216 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008/2.188, allocations: 0.5128 MB / 1.217 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003905/2.192, allocations: 3.028 MB / 1.22 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/2.192, allocations: 45.59 kB / 1.22 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=128): time 3.346e-06/2.192, allocations: 0 / 1.22 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=128): time 0.003627/2.196, allocations: 1.386 MB / 1.221 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/2.196, allocations: 120.2 kB / 1.221 GB, free: 110.2 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.001155/2.197, allocations: 0.7324 MB / 1.222 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/2.197, allocations: 25.7 kB / 1.222 GB, free: 110 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/2.197, allocations: 0.4948 MB / 1.222 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/2.198, allocations: 425.2 kB / 1.223 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/2.198, allocations: 3.125 kB / 1.223 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.569e-05/2.198, allocations: 349 kB / 1.223 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005671/2.198, allocations: 385 kB / 1.224 GB, free: 109.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/2.199, allocations: 0.5118 MB / 1.224 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/2.201, allocations: 0.662 MB / 1.225 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/2.201, allocations: 3.953 kB / 1.225 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003615/2.205, allocations: 1.488 MB / 1.226 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/2.205, allocations: 13.22 kB / 1.226 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/2.205, allocations: 3.938 kB / 1.226 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005333/2.205, allocations: 161.9 kB / 1.226 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000748/2.206, allocations: 211.1 kB / 1.227 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003701/2.21, allocations: 6.478 MB / 1.233 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/2.211, allocations: 81.94 kB / 1.233 GB, free: 102.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/2.211, allocations: 51.61 kB / 1.233 GB, free: 102.9 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.0002759/2.211, allocations: 125.9 kB / 1.233 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004099/2.216, allocations: 1.382 MB / 1.234 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004797/2.216, allocations: 115.2 kB / 1.235 GB, free: 102.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004388/2.221, allocations: 1.69 MB / 1.236 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/2.221, allocations: 14.47 kB / 1.236 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/2.221, allocations: 6.406 kB / 1.236 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/2.221, allocations: 10.88 kB / 1.236 GB, free: 102.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004139/2.225, allocations: 1.99 MB / 1.238 GB, free: 102 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/2.225, allocations: 0 / 1.238 GB, free: 102 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006377/2.225, allocations: 175.4 kB / 1.238 GB, free: 102 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004361/2.226, allocations: 160.2 kB / 1.239 GB, free: 102 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/2.226, allocations: 35.16 kB / 1.239 GB, free: 102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003596/2.23, allocations: 6.494 MB / 1.245 GB, free: 95.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/2.23, allocations: 3.875 kB / 1.245 GB, free: 95.96 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004339/2.234, allocations: 2.288 MB / 1.247 GB, free: 95.48 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008284/2.235, allocations: 386.4 kB / 1.247 GB, free: 95.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/2.235, allocations: 13.69 kB / 1.247 GB, free: 95.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009485/2.236, allocations: 29.91 kB / 1.248 GB, free: 95.29 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/2.236, allocations: 94.75 kB / 1.248 GB, free: 95.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-05/2.236, allocations: 49.39 kB / 1.248 GB, free: 95.29 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0008754/2.237, allocations: 0.5505 MB / 1.248 GB, free: 95.18 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.81e-07/2.237, allocations: 3.375 kB / 1.248 GB, free: 95.18 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0022/2.239, allocations: 0.5004 MB / 1.249 GB, free: 95.11 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.00626/2.246, allocations: 3.924 MB / 1.253 GB, free: 93.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002253/2.248, allocations: 1.639 MB / 1.254 GB, free: 93.11 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/2.248, allocations: 0 / 1.254 GB, free: 93.11 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/2.249, allocations: 1.179 MB / 1.255 GB, free: 92.53 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/2.251, allocations: 313.4 kB / 1.256 GB, free: 92.51 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004994/2.256, allocations: 2.128 MB / 1.258 GB, free: 91.93 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009033/2.257, allocations: 1.165 MB / 1.259 GB, free: 91.21 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001138/2.258, allocations: 235.3 kB / 1.259 GB, free: 91.17 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000692/2.259, allocations: 499.7 kB / 1.259 GB, free: 91.16 MB / 0.5886 GB Notification: Performance of SimCode: time 1.202e-06/2.259, allocations: 0 / 1.259 GB, free: 91.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06356/2.323, allocations: 32.44 MB / 1.291 GB, free: 89.09 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/2.323, allocations: 213.3 kB / 1.291 GB, free: 88.79 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.036/5.359, allocations: 4 kB / 1.291 GB, free: 88.79 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