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.0009209/0.0009209, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001089/0.001089, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8983/0.8983, 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 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.5034/0.5034, allocations: 80.18 MB / 339.4 MB, free: 7.535 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_ThermofluidStream_Interfaces_Tests_Test_p_out_clipping",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0.4923 GB, free: 6.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.413e-05, allocations: 4.062 kB / 0.4924 GB, free: 6.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.1204/0.1205, allocations: 141.8 MB / 0.6309 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.3174/0.4379, allocations: 10.97 MB / 0.6416 GB, free: 4.047 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.4393, allocations: 52.66 kB / 0.6416 GB, free: 4.047 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.4416, allocations: 0.6337 MB / 0.6422 GB, free: 4.047 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004496/0.4461, allocations: 1.316 MB / 0.6435 GB, free: 4.035 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003344/0.4495, allocations: 0.922 MB / 0.6444 GB, free: 4.008 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003947/0.4534, allocations: 2.126 MB / 0.6465 GB, free: 3.906 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006911/0.4541, allocations: 202.9 kB / 0.6467 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003509/0.4576, allocations: 1.219 MB / 0.6479 GB, free: 3.766 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002637/0.4602, allocations: 1.005 MB / 0.6489 GB, free: 3.695 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0006245/0.4609, allocations: 128.6 kB / 0.649 GB, free: 3.695 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004837/0.4657, allocations: 1.342 MB / 0.6503 GB, free: 3.602 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0008821/0.4666, allocations: 409.3 kB / 0.6507 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.002195/0.4688, allocations: 0.5214 MB / 0.6512 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.006267/0.475, allocations: 2.304 MB / 0.6535 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.4751, allocations: 1.188 kB / 0.6535 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4751, allocations: 0.8125 kB / 0.6535 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.468e-05/0.4751, allocations: 0 / 0.6535 GB, free: 3.234 MB / 0.5417 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.006278/0.4814, allocations: 2.012 MB / 0.6554 GB, free: 2.359 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.376e-05/0.4815, allocations: 11.22 kB / 0.6554 GB, free: 2.359 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000321/0.4818, allocations: 146.4 kB / 0.6556 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008276/0.4826, allocations: 173.1 kB / 0.6557 GB, free: 2.238 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/0.4852, allocations: 0.9195 MB / 0.6566 GB, free: 1.91 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.4854, allocations: 125.4 kB / 0.6568 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000388/0.4858, allocations: 101.1 kB / 0.6569 GB, free: 1.844 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003194/0.489, allocations: 1.566 MB / 0.6584 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.519e-05/0.489, allocations: 0 / 0.6584 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.4891, allocations: 35.97 kB / 0.6584 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.559e-05/0.4892, allocations: 52.41 kB / 0.6585 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003561/0.4928, allocations: 2.069 MB / 0.6605 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009677/0.5025, allocations: 4.242 MB / 0.6646 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.5046, allocations: 1.242 MB / 0.6658 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.5059, allocations: 0.8181 MB / 0.6666 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004134/0.51, allocations: 1.602 MB / 0.6682 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.51, allocations: 47.75 kB / 0.6683 GB, free: 0.5703 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=120): time 5.27e-06/0.51, allocations: 0.8125 kB / 0.6683 GB, free: 0.5703 MB / 0.5417 GB Notification: Performance of matching and sorting (n=122): time 0.01018/0.5202, allocations: 4.741 MB / 0.6729 GB, free: 60 kB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.5203, allocations: 64.41 kB / 0.6729 GB, free: 16 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.5217, allocations: 0.9346 MB / 0.6739 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003628/0.5221, allocations: 45.52 kB / 0.6739 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.5224, allocations: 482.8 kB / 0.6744 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000482/0.5229, allocations: 441.5 kB / 0.6748 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004014/0.5233, allocations: 240.2 kB / 0.675 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5234, allocations: 352.5 kB / 0.6753 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.5245, allocations: 0.6336 MB / 0.676 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.5257, allocations: 0.8353 MB / 0.6768 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002696/0.5284, allocations: 1.494 MB / 0.6782 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.5284, allocations: 2.688 kB / 0.6782 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00389/0.5323, allocations: 2.006 MB / 0.6802 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.5323, allocations: 6.531 kB / 0.6802 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.5324, allocations: 6.938 kB / 0.6802 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008595/0.5332, allocations: 345.4 kB / 0.6805 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.5343, allocations: 238.8 kB / 0.6808 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005016/0.5394, allocations: 3.728 MB / 0.6844 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.5407, allocations: 31.83 kB / 0.6844 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002843/0.541, allocations: 62.91 kB / 0.6845 GB, free: 13.15 MB / 0.5573 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.0008549/0.5419, allocations: 340.5 kB / 0.6848 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004968/0.5424, allocations: 142 kB / 0.685 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004389/0.5468, allocations: 2.745 MB / 0.6876 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.5468, allocations: 9.844 kB / 0.6877 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.5468, allocations: 12.09 kB / 0.6877 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.5468, allocations: 5.719 kB / 0.6877 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006019/0.5528, allocations: 2.973 MB / 0.6906 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.789e-05/0.5528, allocations: 1.062 kB / 0.6906 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009205/0.5538, allocations: 175.4 kB / 0.6907 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.5548, allocations: 404.1 kB / 0.6911 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002354/0.555, allocations: 48.19 kB / 0.6912 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005086/0.5601, allocations: 3.73 MB / 0.6948 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.5601, allocations: 4.375 kB / 0.6948 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005537/0.5656, allocations: 2.827 MB / 0.6976 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.5667, allocations: 279 kB / 0.6978 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004085/0.5671, allocations: 27.48 kB / 0.6979 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008866/0.568, allocations: 27.45 kB / 0.6979 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002416/0.5682, allocations: 98.81 kB / 0.698 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.5683, allocations: 48.12 kB / 0.698 GB, free: 8.082 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001112/0.5694, allocations: 0.7195 MB / 0.6987 GB, free: 7.793 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5694, allocations: 0.8438 kB / 0.6987 GB, free: 7.793 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00219/0.5716, allocations: 0.4894 MB / 0.6992 GB, free: 7.695 MB / 0.5573 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.007055/0.5787, allocations: 4.021 MB / 0.7032 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004074/0.5827, allocations: 1.839 MB / 0.7049 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.5827, allocations: 4.75 kB / 0.705 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002322/0.5851, allocations: 1.143 MB / 0.7061 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/0.5885, allocations: 0.5988 MB / 0.7067 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/0.6053, allocations: 11.99 MB / 0.7184 GB, free: 11.63 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.6058, allocations: 0.5914 MB / 0.7189 GB, free: 11.01 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001081/0.6069, allocations: 354 kB / 0.7193 GB, free: 10.67 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005794/0.6075, allocations: 0.4954 MB / 0.7198 GB, free: 10.18 MB / 0.573 GB Notification: Performance of SimCode: time 1.613e-06/0.6075, allocations: 4 kB / 0.7198 GB, free: 10.17 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07924/0.6867, allocations: 44.87 MB / 0.7636 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.868/9.554, allocations: 10.88 kB / 0.7636 GB, free: 13.82 MB / 0.6198 GB " [Timeout remaining time 650] (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: 11.95196739397943] Failed to read output from testmodel.py, exit status != 0: 9.67710382398218 9.68689517 9.209457761 Calling exit ...