Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002479/0.002479, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.6493/0.6493, allocations: 94.57 MB / 404.1 MB, free: 10.94 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002499/0.002499, allocations: 83.88 kB / 0.5506 GB, free: 5.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4131, allocations: 73.02 MB / 0.6219 GB, free: 8.5 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.2043/0.6174, allocations: 162.5 MB / 0.7806 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01683/0.6342, allocations: 12.84 MB / 0.7931 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.6355, allocations: 51.56 kB / 0.7932 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.6374, allocations: 0.6645 MB / 0.7938 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.641, allocations: 1.224 MB / 0.795 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.6438, allocations: 0.9026 MB / 0.7959 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002669/0.6465, allocations: 1.927 MB / 0.7978 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004751/0.647, allocations: 263.1 kB / 0.7981 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.6485, allocations: 0.8916 MB / 0.7989 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.6501, allocations: 1.11 MB / 0.8 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.6503, allocations: 128 kB / 0.8001 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003482/0.6538, allocations: 1.552 MB / 0.8016 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000423/0.6542, allocations: 386.7 kB / 0.802 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000846/0.6551, allocations: 0.7151 MB / 0.8027 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003651/0.6587, allocations: 2.203 MB / 0.8049 GB, free: 184 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6587, allocations: 0 / 0.8049 GB, free: 184 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6587, allocations: 4 kB / 0.8049 GB, free: 180 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.636e-05/0.6588, allocations: 0 / 0.8049 GB, free: 180 kB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.004796/0.6636, allocations: 2.077 MB / 0.8069 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.6636, allocations: 8.031 kB / 0.8069 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.517e-05/0.6637, allocations: 26.19 kB / 0.8069 GB, free: 14 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001985/0.6639, allocations: 140.1 kB / 0.8071 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.6642, allocations: 162.9 kB / 0.8072 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.6659, allocations: 0.9881 MB / 0.8082 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.666, allocations: 99.69 kB / 0.8083 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.6662, allocations: 99.95 kB / 0.8084 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.6687, allocations: 1.461 MB / 0.8098 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.6687, allocations: 4 kB / 0.8098 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.6688, allocations: 39.94 kB / 0.8098 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.897e-05/0.6689, allocations: 49.98 kB / 0.8099 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003659/0.6726, allocations: 2.057 MB / 0.8119 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00923/0.6818, allocations: 5.232 MB / 0.817 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/0.684, allocations: 1.234 MB / 0.8182 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.6853, allocations: 0.8106 MB / 0.819 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006531/0.6918, allocations: 4.707 MB / 0.8236 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.6918, allocations: 43.56 kB / 0.8236 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=119): time 3.106e-06/0.6918, allocations: 4 kB / 0.8236 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121): time 0.01031/0.7021, allocations: 5.278 MB / 0.8288 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.7022, allocations: 64.41 kB / 0.8289 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.7035, allocations: 0.9184 MB / 0.8298 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.666e-05/0.7036, allocations: 49.7 kB / 0.8298 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.7039, allocations: 477.7 kB / 0.8303 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003844/0.7043, allocations: 448.1 kB / 0.8307 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004126/0.7047, allocations: 242.8 kB / 0.8309 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.7049, allocations: 349.9 kB / 0.8313 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.706, allocations: 0.6272 MB / 0.8319 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.7073, allocations: 0.7642 MB / 0.8326 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00252/0.7098, allocations: 1.464 MB / 0.834 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.7098, allocations: 8 kB / 0.834 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.3174/1.027, allocations: 1.963 MB / 0.836 GB, free: 207.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/1.027, allocations: 5.75 kB / 0.836 GB, free: 207.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/1.027, allocations: 3.875 kB / 0.836 GB, free: 207.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/1.029, allocations: 348.1 kB / 0.8363 GB, free: 207.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/1.03, allocations: 232.3 kB / 0.8365 GB, free: 207.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004911/1.035, allocations: 3.882 MB / 0.8403 GB, free: 205.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/1.036, allocations: 41.45 kB / 0.8404 GB, free: 205.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/1.036, allocations: 57.83 kB / 0.8404 GB, free: 205.3 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006095/1.037, allocations: 325.1 kB / 0.8407 GB, free: 205 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003409/1.037, allocations: 129.8 kB / 0.8408 GB, free: 205 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004198/1.041, allocations: 2.763 MB / 0.8435 GB, free: 203.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/1.041, allocations: 9.969 kB / 0.8436 GB, free: 203.9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/1.041, allocations: 5.031 kB / 0.8436 GB, free: 203.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/1.041, allocations: 5.547 kB / 0.8436 GB, free: 203.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005277/1.047, allocations: 3.39 MB / 0.8469 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/1.047, allocations: 5.844 kB / 0.8469 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008786/1.047, allocations: 179.3 kB / 0.8471 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009116/1.048, allocations: 391 kB / 0.8474 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.793e-05/1.048, allocations: 51.73 kB / 0.8475 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004151/1.053, allocations: 3.907 MB / 0.8513 GB, free: 198.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.053, allocations: 2.969 kB / 0.8513 GB, free: 198.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003853/1.056, allocations: 2.801 MB / 0.854 GB, free: 196.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005267/1.057, allocations: 353.6 kB / 0.8544 GB, free: 196.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/1.057, allocations: 18.94 kB / 0.8544 GB, free: 196.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007022/1.058, allocations: 30.08 kB / 0.8544 GB, free: 196.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/1.058, allocations: 100.1 kB / 0.8545 GB, free: 196.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/1.058, allocations: 49.81 kB / 0.8546 GB, free: 196.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007974/1.059, allocations: 0.7047 MB / 0.8552 GB, free: 196.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/1.059, allocations: 0 / 0.8552 GB, free: 196.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001312/1.06, allocations: 491.7 kB / 0.8557 GB, free: 196 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (flowResistance.m_flow,fan.m_flow,fan.phi,fan.omega,basicControlValve.m_flow,specificValveType.m_flow,tanValve.m_flow,nozzle.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 (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,23,57.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005488/1.066, allocations: 3.967 MB / 0.8596 GB, free: 192.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002927/1.069, allocations: 1.822 MB / 0.8614 GB, free: 190.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.069, allocations: 4 kB / 0.8614 GB, free: 190.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001706/1.07, allocations: 1.136 MB / 0.8625 GB, free: 189.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/1.072, allocations: 424.2 kB / 0.8629 GB, free: 188.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/1.088, allocations: 12.08 MB / 0.8747 GB, free: 176.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005278/1.088, allocations: 1.172 MB / 0.8758 GB, free: 175.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001042/1.09, allocations: 344.4 kB / 0.8762 GB, free: 175.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00061/1.09, allocations: 491.2 kB / 0.8766 GB, free: 174.6 MB / 0.6544 GB Notification: Performance of SimCode: time 8.71e-07/1.09, allocations: 0 / 0.8766 GB, free: 174.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06564/1.156, allocations: 38.38 MB / 0.9141 GB, free: 136.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.25/17.41, allocations: 7.109 kB / 0.9141 GB, free: 136.5 MB / 0.6544 GB " [Timeout remaining time 642] (rm -f ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping.fmu > ThermofluidStream_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 21.02940004703123] Failed to read output from testmodel.py, exit status != 0: 17.623344685009215 17.639639191 16.977450862 Calling exit ...