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.001361/0.001361, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001484/0.001484, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.7804/0.7804, allocations: 94.63 MB / 407.8 MB, free: 8.91 MB / 318.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.002424/0.002424, allocations: 81.36 kB / 0.5557 GB, free: 38.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.134, allocations: 73.05 MB / 0.627 GB, free: 216 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.5489/0.683, allocations: 140.5 MB / 0.7643 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01513/0.6981, allocations: 11.72 MB / 0.7757 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.6995, allocations: 50.62 kB / 0.7758 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00179/0.7013, allocations: 0.6165 MB / 0.7764 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003507/0.7048, allocations: 1.207 MB / 0.7775 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.7076, allocations: 0.908 MB / 0.7784 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002277/0.7098, allocations: 1.933 MB / 0.7803 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004385/0.7103, allocations: 215.7 kB / 0.7805 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.7119, allocations: 0.9034 MB / 0.7814 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.7136, allocations: 1.108 MB / 0.7825 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.7138, allocations: 130.2 kB / 0.7826 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004288/0.7181, allocations: 1.333 MB / 0.7839 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005983/0.7187, allocations: 392.4 kB / 0.7843 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.7198, allocations: 0.6013 MB / 0.7849 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00416/0.724, allocations: 2.18 MB / 0.787 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.724, allocations: 1.031 kB / 0.787 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.795e-06/0.724, allocations: 0 / 0.787 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.51e-05/0.724, allocations: 0 / 0.787 GB, free: 2.449 MB / 0.5762 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.005056/0.7291, allocations: 2.001 MB / 0.789 GB, free: 17.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.7291, allocations: 15.44 kB / 0.789 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.309e-05/0.7292, allocations: 23.88 kB / 0.789 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/0.7294, allocations: 145.3 kB / 0.7891 GB, free: 17.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005285/0.7299, allocations: 176.6 kB / 0.7893 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.7316, allocations: 0.8969 MB / 0.7902 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.7317, allocations: 125 kB / 0.7903 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.7319, allocations: 101.4 kB / 0.7904 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.7341, allocations: 1.564 MB / 0.7919 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.7341, allocations: 0 / 0.7919 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.7342, allocations: 37.88 kB / 0.792 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.872e-05/0.7343, allocations: 46.7 kB / 0.792 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002797/0.7371, allocations: 2.083 MB / 0.794 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007615/0.7447, allocations: 4.13 MB / 0.7981 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.7464, allocations: 1.238 MB / 0.7993 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009854/0.7474, allocations: 0.8162 MB / 0.8001 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003337/0.7508, allocations: 1.61 MB / 0.8016 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.7508, allocations: 50.97 kB / 0.8017 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=120): time 3.286e-06/0.7508, allocations: 0 / 0.8017 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122): time 0.008774/0.7596, allocations: 4.713 MB / 0.8063 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.7596, allocations: 67.19 kB / 0.8064 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.7608, allocations: 0.9194 MB / 0.8073 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.7609, allocations: 51.64 kB / 0.8073 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.7613, allocations: 469.7 kB / 0.8078 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000379/0.7617, allocations: 449.5 kB / 0.8082 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003856/0.7621, allocations: 238.1 kB / 0.8084 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.7623, allocations: 355.5 kB / 0.8087 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009754/0.7632, allocations: 0.6333 MB / 0.8094 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.7644, allocations: 0.8235 MB / 0.8102 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/0.7667, allocations: 1.491 MB / 0.8116 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.7667, allocations: 3.469 kB / 0.8116 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003544/0.7702, allocations: 1.992 MB / 0.8136 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.7703, allocations: 8.281 kB / 0.8136 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.7703, allocations: 6.125 kB / 0.8136 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009358/0.7712, allocations: 348.2 kB / 0.8139 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.7723, allocations: 232.1 kB / 0.8141 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005485/0.7778, allocations: 3.727 MB / 0.8178 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.7794, allocations: 33.8 kB / 0.8178 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002653/0.7796, allocations: 63.25 kB / 0.8179 GB, free: 8.047 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0007599/0.7804, allocations: 329.6 kB / 0.8182 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005044/0.7809, allocations: 136.3 kB / 0.8183 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004463/0.7854, allocations: 2.761 MB / 0.821 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.7854, allocations: 10.66 kB / 0.821 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.7854, allocations: 6.875 kB / 0.821 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.7854, allocations: 3.984 kB / 0.821 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00518/0.7906, allocations: 2.959 MB / 0.8239 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/0.7906, allocations: 2.406 kB / 0.8239 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009258/0.7915, allocations: 176.8 kB / 0.8241 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.7925, allocations: 405.4 kB / 0.8245 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.7927, allocations: 44.8 kB / 0.8245 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005278/0.7979, allocations: 3.727 MB / 0.8282 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7979, allocations: 6.719 kB / 0.8282 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004795/0.8027, allocations: 2.828 MB / 0.8309 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007405/0.8035, allocations: 271.8 kB / 0.8312 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.8037, allocations: 29.36 kB / 0.8312 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007359/0.8044, allocations: 32.58 kB / 0.8313 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.8047, allocations: 98.2 kB / 0.8313 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.8048, allocations: 51.17 kB / 0.8314 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001143/0.8059, allocations: 0.7121 MB / 0.8321 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.8059, allocations: 1.031 kB / 0.8321 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001776/0.8077, allocations: 483.4 kB / 0.8326 GB, free: 14.62 MB / 0.6075 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.007545/0.8152, allocations: 4.009 MB / 0.8365 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00399/0.8192, allocations: 1.83 MB / 0.8383 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.8192, allocations: 0 / 0.8383 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002371/0.8216, allocations: 1.145 MB / 0.8394 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.8239, allocations: 448 kB / 0.8398 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02138/0.8453, allocations: 12.13 MB / 0.8516 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000724/0.846, allocations: 0.583 MB / 0.8522 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001317/0.8473, allocations: 336.3 kB / 0.8525 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008704/0.8482, allocations: 483.2 kB / 0.853 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of SimCode: time 1.132e-06/0.8482, allocations: 0 / 0.853 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/0.9674, allocations: 40.36 MB / 0.8924 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.52/19.49, allocations: 9.969 kB / 0.8924 GB, free: 1.793 MB / 0.6544 GB " [Timeout remaining time 640] (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: 23.215459718951024] Failed to read output from testmodel.py, exit status != 0: 19.734273993992247 19.751178265 19.023815402 Calling exit ...