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.001658/0.001658, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001952/0.001952, allocations: 212 kB / 20.13 MB, free: 2.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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.652/0.652, allocations: 100.3 MB / 409.8 MB, free: 5.387 MB / 334.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.002431/0.002431, allocations: 79.88 kB / 0.5589 GB, free: 13.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3701, allocations: 74.42 MB / 0.6315 GB, free: 2.449 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.1896/0.5598, allocations: 162.5 MB / 0.7903 GB, free: 400 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01607/0.5759, allocations: 12.85 MB / 0.8028 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009488/0.5768, allocations: 47.56 kB / 0.8029 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.579, allocations: 0.6684 MB / 0.8035 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00404/0.583, allocations: 1.224 MB / 0.8047 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.5861, allocations: 0.8992 MB / 0.8056 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002644/0.5887, allocations: 1.931 MB / 0.8075 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005325/0.5892, allocations: 255.2 kB / 0.8077 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.5909, allocations: 0.8955 MB / 0.8086 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.5927, allocations: 1.11 MB / 0.8097 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004012/0.5931, allocations: 124 kB / 0.8098 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003675/0.5968, allocations: 1.552 MB / 0.8113 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005183/0.5973, allocations: 382.7 kB / 0.8117 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008526/0.5982, allocations: 0.719 MB / 0.8124 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003524/0.6017, allocations: 2.218 MB / 0.8145 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.6017, allocations: 0 / 0.8145 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of FrontEnd: time 8.61e-07/0.6017, allocations: 0 / 0.8145 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.2e-05/0.6017, allocations: 0 / 0.8145 GB, free: 7.438 MB / 0.6387 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.004392/0.6061, allocations: 2.077 MB / 0.8166 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.6062, allocations: 11.97 kB / 0.8166 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.088e-05/0.6062, allocations: 26.19 kB / 0.8166 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001866/0.6064, allocations: 140.1 kB / 0.8167 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/0.6067, allocations: 159 kB / 0.8169 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.6082, allocations: 0.9882 MB / 0.8179 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.6083, allocations: 95.7 kB / 0.8179 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.6085, allocations: 99.95 kB / 0.818 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.6109, allocations: 1.465 MB / 0.8195 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.6109, allocations: 0 / 0.8195 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.6111, allocations: 43.92 kB / 0.8195 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.567e-05/0.6111, allocations: 53.92 kB / 0.8196 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003315/0.6144, allocations: 2.053 MB / 0.8216 GB, free: 112 kB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008709/0.6231, allocations: 5.217 MB / 0.8267 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.6252, allocations: 1.242 MB / 0.8279 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.6265, allocations: 0.8106 MB / 0.8287 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006142/0.6326, allocations: 4.711 MB / 0.8333 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.6327, allocations: 47.56 kB / 0.8333 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=119): time 2.976e-06/0.6327, allocations: 0 / 0.8333 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121): time 0.2937/0.9264, allocations: 5.27 MB / 0.8385 GB, free: 202.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.9264, allocations: 64.22 kB / 0.8385 GB, free: 202.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.9276, allocations: 0.9236 MB / 0.8394 GB, free: 201.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.919e-05/0.9277, allocations: 51.27 kB / 0.8395 GB, free: 201.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.9279, allocations: 471 kB / 0.8399 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/0.9282, allocations: 441.8 kB / 0.8403 GB, free: 201.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000379/0.9286, allocations: 241.3 kB / 0.8406 GB, free: 201.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.254e-05/0.9286, allocations: 351.2 kB / 0.8409 GB, free: 200.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000946/0.9296, allocations: 0.6306 MB / 0.8415 GB, free: 200.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009722/0.9306, allocations: 0.7568 MB / 0.8423 GB, free: 200.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/0.9324, allocations: 1.473 MB / 0.8437 GB, free: 199.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9324, allocations: 7.406 kB / 0.8437 GB, free: 199.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002882/0.9353, allocations: 1.968 MB / 0.8456 GB, free: 198.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.9353, allocations: 3.781 kB / 0.8456 GB, free: 198.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.9353, allocations: 3.875 kB / 0.8456 GB, free: 198.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008152/0.9361, allocations: 357.1 kB / 0.846 GB, free: 198.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009684/0.9371, allocations: 228.1 kB / 0.8462 GB, free: 198.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004118/0.9412, allocations: 3.885 MB / 0.85 GB, free: 195.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.9423, allocations: 35.92 kB / 0.85 GB, free: 195.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.9424, allocations: 59.94 kB / 0.8501 GB, free: 195.7 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.0005741/0.943, allocations: 333 kB / 0.8504 GB, free: 195.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.9433, allocations: 134.9 kB / 0.8505 GB, free: 195.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003415/0.9467, allocations: 2.751 MB / 0.8532 GB, free: 192.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.9467, allocations: 8 kB / 0.8532 GB, free: 192.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9467, allocations: 8 kB / 0.8532 GB, free: 192.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.9467, allocations: 11.91 kB / 0.8532 GB, free: 192.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004119/0.9508, allocations: 3.401 MB / 0.8566 GB, free: 189 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.9508, allocations: 5.562 kB / 0.8566 GB, free: 189 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008065/0.9516, allocations: 171.7 kB / 0.8567 GB, free: 188.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00083/0.9525, allocations: 401.6 kB / 0.8571 GB, free: 188.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.084e-05/0.9525, allocations: 47.94 kB / 0.8572 GB, free: 188.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/0.9564, allocations: 3.892 MB / 0.861 GB, free: 184.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9564, allocations: 4 kB / 0.861 GB, free: 184.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003615/0.96, allocations: 2.805 MB / 0.8637 GB, free: 181.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006083/0.9606, allocations: 352 kB / 0.864 GB, free: 181.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.9608, allocations: 29.95 kB / 0.8641 GB, free: 181.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000659/0.9615, allocations: 23.98 kB / 0.8641 GB, free: 181.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.9616, allocations: 92.78 kB / 0.8642 GB, free: 181.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.311e-05/0.9617, allocations: 51.92 kB / 0.8642 GB, free: 181 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007564/0.9625, allocations: 0.7119 MB / 0.8649 GB, free: 180.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.9625, allocations: 0 / 0.8649 GB, free: 180.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001299/0.9638, allocations: 483.4 kB / 0.8654 GB, free: 179.9 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.005235/0.969, allocations: 3.97 MB / 0.8693 GB, free: 176.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002833/0.9719, allocations: 1.826 MB / 0.871 GB, free: 174.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.9719, allocations: 0 / 0.871 GB, free: 174.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/0.9735, allocations: 1.141 MB / 0.8722 GB, free: 173.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.9754, allocations: 422.8 kB / 0.8726 GB, free: 172.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/0.9898, allocations: 12.06 MB / 0.8843 GB, free: 160.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.9903, allocations: 1.18 MB / 0.8855 GB, free: 159.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008992/0.9912, allocations: 349.9 kB / 0.8858 GB, free: 159 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000575/0.9918, allocations: 487.2 kB / 0.8863 GB, free: 158.5 MB / 0.6544 GB Notification: Performance of SimCode: time 7.12e-07/0.9918, allocations: 0 / 0.8863 GB, free: 158.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06024/1.052, allocations: 38.39 MB / 0.9238 GB, free: 120.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.35/17.4, allocations: 12.03 kB / 0.9238 GB, free: 120.4 MB / 0.6544 GB " [Timeout remaining time 642] (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: 20.86189896200085] Failed to read output from testmodel.py, exit status != 0: 17.61805811501108 17.627601319 17.023545922 Calling exit ...