Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0008507/0.0008507, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009502/0.0009502, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8475/0.8475, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.5789/0.5789, allocations: 116 MB / 375.2 MB, free: 4.184 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.5532 GB, free: 13.37 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.158e-05, allocations: 6.219 kB / 0.5532 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.3513/0.3513, allocations: 141.9 MB / 0.6918 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.009868/0.3612, allocations: 11 MB / 0.7025 GB, free: 3.695 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.3624, allocations: 57.45 kB / 0.7026 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.3639, allocations: 0.6351 MB / 0.7032 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.3669, allocations: 1.327 MB / 0.7045 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.3691, allocations: 0.9409 MB / 0.7054 GB, free: 2.547 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002241/0.3714, allocations: 2.149 MB / 0.7075 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004216/0.3718, allocations: 207 kB / 0.7077 GB, free: 1.25 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.3737, allocations: 1.239 MB / 0.7089 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.3748, allocations: 1.007 MB / 0.7099 GB, free: 164 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.375, allocations: 128.1 kB / 0.71 GB, free: 164 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.3774, allocations: 1.342 MB / 0.7113 GB, free: 15.59 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003304/0.3778, allocations: 405.6 kB / 0.7117 GB, free: 15.28 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007087/0.3785, allocations: 0.5233 MB / 0.7122 GB, free: 15.01 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003532/0.382, allocations: 2.346 MB / 0.7145 GB, free: 13.54 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.382, allocations: 0 / 0.7145 GB, free: 13.54 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.405e-06/0.382, allocations: 0 / 0.7145 GB, free: 13.54 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.739e-05/0.382, allocations: 0 / 0.7145 GB, free: 13.54 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.003334/0.3854, allocations: 2.034 MB / 0.7165 GB, free: 12.12 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.3854, allocations: 12.03 kB / 0.7165 GB, free: 12.12 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001632/0.3856, allocations: 144.9 kB / 0.7167 GB, free: 12.01 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/0.386, allocations: 179.6 kB / 0.7168 GB, free: 11.91 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.3876, allocations: 0.948 MB / 0.7178 GB, free: 11.2 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.3877, allocations: 126.9 kB / 0.7179 GB, free: 11.11 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.3878, allocations: 99.7 kB / 0.718 GB, free: 11.07 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.3896, allocations: 1.563 MB / 0.7195 GB, free: 10.09 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.3896, allocations: 6.547 kB / 0.7195 GB, free: 10.09 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.914e-05/0.3896, allocations: 33.69 kB / 0.7195 GB, free: 10.06 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/0.3897, allocations: 54.22 kB / 0.7196 GB, free: 10.05 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.3918, allocations: 2.074 MB / 0.7216 GB, free: 8.984 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00586/0.3977, allocations: 4.162 MB / 0.7257 GB, free: 6.254 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.399, allocations: 1.093 MB / 0.7268 GB, free: 5.648 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007353/0.3997, allocations: 0.7367 MB / 0.7275 GB, free: 5.262 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002679/0.4024, allocations: 1.549 MB / 0.729 GB, free: 4.238 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.4024, allocations: 45.12 kB / 0.729 GB, free: 4.191 MB / 0.573 GB Notification: Performance of pre-optimization done (n=120): time 3.957e-06/0.4024, allocations: 1.406 kB / 0.729 GB, free: 4.191 MB / 0.573 GB Notification: Performance of matching and sorting (n=122): time 0.006024/0.4085, allocations: 4.351 MB / 0.7333 GB, free: 1.801 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.4085, allocations: 65.84 kB / 0.7333 GB, free: 1.738 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008501/0.4093, allocations: 0.957 MB / 0.7343 GB, free: 1.211 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.704e-05/0.4094, allocations: 46.55 kB / 0.7343 GB, free: 1.164 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.4097, allocations: 492.7 kB / 0.7348 GB, free: 0.7344 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.4099, allocations: 446.8 kB / 0.7352 GB, free: 352 kB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.4101, allocations: 245.3 kB / 0.7354 GB, free: 200 kB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.4102, allocations: 351.3 kB / 0.7358 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006303/0.4109, allocations: 0.5607 MB / 0.7363 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007353/0.4116, allocations: 0.7426 MB / 0.7371 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.413, allocations: 1.349 MB / 0.7384 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.413, allocations: 2.75 kB / 0.7384 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00224/0.4153, allocations: 1.846 MB / 0.7402 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.4153, allocations: 5.312 kB / 0.7402 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.4153, allocations: 4.969 kB / 0.7402 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000576/0.4159, allocations: 341.8 kB / 0.7405 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007968/0.4167, allocations: 238.1 kB / 0.7407 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003353/0.42, allocations: 3.73 MB / 0.7444 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008293/0.4209, allocations: 47.91 kB / 0.7444 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.421, allocations: 59.94 kB / 0.7445 GB, free: 9.496 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (113): * Single equations (assignments): 111 * 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.0005245/0.4215, allocations: 334.2 kB / 0.7448 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/0.4218, allocations: 147.1 kB / 0.7449 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/0.4244, allocations: 2.629 MB / 0.7475 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.4244, allocations: 12 kB / 0.7475 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4244, allocations: 4 kB / 0.7475 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.4244, allocations: 3.984 kB / 0.7475 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.4279, allocations: 2.796 MB / 0.7503 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.4279, allocations: 0 / 0.7503 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004754/0.4283, allocations: 180.6 kB / 0.7504 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005852/0.4289, allocations: 404.9 kB / 0.7508 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.503e-05/0.429, allocations: 43.94 kB / 0.7509 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003314/0.4323, allocations: 3.737 MB / 0.7545 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.4323, allocations: 0 / 0.7545 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00347/0.4358, allocations: 2.571 MB / 0.757 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005935/0.4364, allocations: 286.8 kB / 0.7573 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.4366, allocations: 31.3 kB / 0.7573 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/0.437, allocations: 31.98 kB / 0.7574 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.4372, allocations: 96.73 kB / 0.7575 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.218e-05/0.4372, allocations: 51.92 kB / 0.7575 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007069/0.4379, allocations: 0.7368 MB / 0.7582 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4379, allocations: 0 / 0.7582 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001104/0.439, allocations: 0.4955 MB / 0.7587 GB, free: 10.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (78): * Single equations (assignments): 76 * 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.004283/0.4433, allocations: 3.761 MB / 0.7624 GB, free: 7.016 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002258/0.4456, allocations: 1.689 MB / 0.764 GB, free: 5.309 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.4456, allocations: 0 / 0.764 GB, free: 5.309 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.4468, allocations: 1.079 MB / 0.7651 GB, free: 4.211 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/0.4486, allocations: 0.5928 MB / 0.7657 GB, free: 3.633 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/0.4621, allocations: 11.65 MB / 0.777 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.4625, allocations: 0.5962 MB / 0.7776 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009646/0.4635, allocations: 368.3 kB / 0.778 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005449/0.4641, allocations: 0.5002 MB / 0.7785 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of SimCode: time 1.363e-06/0.4641, allocations: 4 kB / 0.7785 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05764/0.5217, allocations: 45.21 MB / 0.8226 GB, free: 9.566 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.597/8.119, allocations: 0 / 0.8226 GB, free: 9.566 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping.fmu > ThermofluidStream_dev_ThermofluidStream.Interfaces.Tests.Test_p_out_clipping.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 10.507378689944744] Failed to read output from testmodel.py, exit status != 0: 8.24062831606716 8.248308026 7.864456476 Calling exit ...