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.001362/0.001362, allocations: 100.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.001606/0.001606, allocations: 223.5 kB / 23.03 MB, free: 4.945 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.51/1.51, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7523/0.7523, allocations: 100.3 MB / 413.6 MB, free: 3.41 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_dev_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.00238/0.00238, allocations: 83.16 kB / 0.564 GB, free: 35.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1252, allocations: 74.46 MB / 0.6367 GB, free: 7.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.4902/0.6155, allocations: 140.5 MB / 0.7739 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01258/0.628, allocations: 11.72 MB / 0.7854 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009909/0.629, allocations: 49.72 kB / 0.7854 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.6305, allocations: 0.6135 MB / 0.786 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002816/0.6333, allocations: 1.204 MB / 0.7872 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.6358, allocations: 0.9107 MB / 0.7881 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00206/0.6378, allocations: 1.944 MB / 0.79 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003592/0.6382, allocations: 220.9 kB / 0.7902 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.6394, allocations: 0.9076 MB / 0.7911 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/0.6408, allocations: 1.109 MB / 0.7922 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002175/0.641, allocations: 127.9 kB / 0.7923 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.6438, allocations: 1.338 MB / 0.7936 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003159/0.6441, allocations: 388.5 kB / 0.794 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006341/0.6447, allocations: 0.5909 MB / 0.7945 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003145/0.6479, allocations: 2.184 MB / 0.7967 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6479, allocations: 4 kB / 0.7967 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6479, allocations: 3.938 kB / 0.7967 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.847e-05/0.6479, allocations: 2.219 kB / 0.7967 GB, free: 2.117 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.003915/0.6518, allocations: 1.993 MB / 0.7986 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.6518, allocations: 11.72 kB / 0.7986 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.002e-05/0.6519, allocations: 25.09 kB / 0.7987 GB, free: 17.24 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000155/0.652, allocations: 142 kB / 0.7988 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003758/0.6524, allocations: 175.3 kB / 0.799 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/0.6538, allocations: 0.9061 MB / 0.7999 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.469e-05/0.6539, allocations: 123 kB / 0.8 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.654, allocations: 100.4 kB / 0.8001 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.656, allocations: 1.561 MB / 0.8016 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.656, allocations: 1.062 kB / 0.8016 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.92e-05/0.6561, allocations: 39.72 kB / 0.8016 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/0.6562, allocations: 48.02 kB / 0.8017 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/0.6588, allocations: 2.081 MB / 0.8037 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007081/0.6659, allocations: 4.133 MB / 0.8077 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.6678, allocations: 1.248 MB / 0.809 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.6689, allocations: 0.8171 MB / 0.8098 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003442/0.6724, allocations: 1.603 MB / 0.8113 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.6724, allocations: 49.44 kB / 0.8114 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=120): time 3.046e-06/0.6724, allocations: 0 / 0.8114 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122): time 0.009007/0.6814, allocations: 4.719 MB / 0.816 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.6815, allocations: 65.42 kB / 0.816 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.6827, allocations: 0.9186 MB / 0.8169 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.6828, allocations: 51.8 kB / 0.817 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.6832, allocations: 471.8 kB / 0.8174 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/0.6836, allocations: 450.5 kB / 0.8179 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003902/0.684, allocations: 239.4 kB / 0.8181 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.6841, allocations: 353.3 kB / 0.8184 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.6852, allocations: 0.6358 MB / 0.8191 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.6864, allocations: 0.8177 MB / 0.8199 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/0.6886, allocations: 1.495 MB / 0.8213 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6886, allocations: 0 / 0.8213 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00349/0.6921, allocations: 1.988 MB / 0.8233 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6921, allocations: 6.375 kB / 0.8233 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.6921, allocations: 3.5 kB / 0.8233 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009098/0.693, allocations: 347.5 kB / 0.8236 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.6941, allocations: 231.2 kB / 0.8238 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005182/0.6993, allocations: 3.744 MB / 0.8275 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009938/0.7003, allocations: 35.3 kB / 0.8275 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/0.7005, allocations: 62.12 kB / 0.8276 GB, free: 4.344 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.0006635/0.7011, allocations: 324.1 kB / 0.8279 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004061/0.7015, allocations: 140 kB / 0.828 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004436/0.706, allocations: 2.753 MB / 0.8307 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.706, allocations: 9.469 kB / 0.8307 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.706, allocations: 5.188 kB / 0.8307 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.706, allocations: 11.19 kB / 0.8307 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00491/0.7109, allocations: 2.966 MB / 0.8336 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.7109, allocations: 6.219 kB / 0.8336 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008886/0.7118, allocations: 173.7 kB / 0.8338 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009685/0.7128, allocations: 406.6 kB / 0.8342 GB, free: 320 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.7129, allocations: 47.61 kB / 0.8342 GB, free: 284 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005386/0.7183, allocations: 3.723 MB / 0.8379 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.7183, allocations: 3.188 kB / 0.8379 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005077/0.7234, allocations: 2.826 MB / 0.8406 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007659/0.7242, allocations: 283 kB / 0.8409 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/0.7245, allocations: 20.81 kB / 0.8409 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008325/0.7253, allocations: 27.98 kB / 0.8409 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.7255, allocations: 101.6 kB / 0.841 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.7256, allocations: 51.92 kB / 0.8411 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001244/0.7269, allocations: 0.7112 MB / 0.8418 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.7269, allocations: 0.9375 kB / 0.8418 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001673/0.7286, allocations: 475.5 kB / 0.8422 GB, free: 8.723 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.007285/0.7358, allocations: 4.015 MB / 0.8462 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004013/0.7399, allocations: 1.84 MB / 0.848 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.7399, allocations: 0.5 kB / 0.848 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00228/0.7421, allocations: 1.142 MB / 0.8491 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.7445, allocations: 427.7 kB / 0.8495 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02024/0.7647, allocations: 12.14 MB / 0.8613 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007567/0.7655, allocations: 0.5791 MB / 0.8619 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001197/0.7667, allocations: 339.8 kB / 0.8622 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008704/0.7675, allocations: 483.2 kB / 0.8627 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.7675, allocations: 0 / 0.8627 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0829/0.8504, allocations: 40.37 MB / 0.9021 GB, free: 11.87 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.6/19.45, allocations: 3.938 kB / 0.9021 GB, free: 11.86 MB / 0.67 GB " [Timeout remaining time 640] (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: 23.125087658991106] Failed to read output from testmodel.py, exit status != 0: 19.687762931920588 19.707707014 19.05649665 Calling exit ...