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.001491/0.001491, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00178/0.00178, allocations: 215.1 kB / 22.25 MB, free: 5.117 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 8.008 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.8496/0.8496, allocations: 94.56 MB / 407 MB, free: 9.203 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="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: 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.002447/0.002447, allocations: 92.23 kB / 0.5549 GB, free: 38.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1556, allocations: 73.05 MB / 0.6263 GB, free: 500 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.6625/0.8181, allocations: 162.9 MB / 0.7853 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01834/0.8365, allocations: 12.94 MB / 0.798 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.8384, allocations: 50.41 kB / 0.798 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002916/0.8413, allocations: 0.6716 MB / 0.7987 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006635/0.848, allocations: 1.228 MB / 0.7999 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004299/0.8523, allocations: 0.9171 MB / 0.8008 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003497/0.8558, allocations: 1.931 MB / 0.8027 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006347/0.8564, allocations: 225.2 kB / 0.8029 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/0.8588, allocations: 0.8949 MB / 0.8038 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002488/0.8612, allocations: 1.115 MB / 0.8048 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005357/0.8618, allocations: 125.9 kB / 0.805 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007127/0.8689, allocations: 1.564 MB / 0.8065 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007682/0.8697, allocations: 386.7 kB / 0.8069 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002138/0.8718, allocations: 0.7156 MB / 0.8076 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006973/0.8788, allocations: 2.213 MB / 0.8097 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.8788, allocations: 0 / 0.8097 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8788, allocations: 4 kB / 0.8097 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001034/0.8789, allocations: 0 / 0.8097 GB, free: 1.004 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.006912/0.8858, allocations: 1.999 MB / 0.8117 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.8859, allocations: 12.06 kB / 0.8117 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004127/0.8863, allocations: 140.9 kB / 0.8118 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005718/0.8868, allocations: 164.3 kB / 0.812 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.8893, allocations: 0.9023 MB / 0.8129 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.8894, allocations: 120.9 kB / 0.813 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/0.8897, allocations: 99.5 kB / 0.8131 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/0.8927, allocations: 1.489 MB / 0.8145 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.8927, allocations: 2.469 kB / 0.8145 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.8929, allocations: 36.66 kB / 0.8146 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-05/0.8929, allocations: 49.5 kB / 0.8146 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003911/0.8968, allocations: 2.08 MB / 0.8166 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01046/0.9073, allocations: 5.132 MB / 0.8217 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.9094, allocations: 1.247 MB / 0.8229 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.9106, allocations: 0.8126 MB / 0.8237 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005658/0.9163, allocations: 2.452 MB / 0.8261 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.9163, allocations: 48.84 kB / 0.8261 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=119): time 4.117e-06/0.9163, allocations: 0 / 0.8261 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121): time 0.01052/0.9268, allocations: 4.716 MB / 0.8307 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.9269, allocations: 62.53 kB / 0.8308 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/0.9288, allocations: 0.9257 MB / 0.8317 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.929, allocations: 46.98 kB / 0.8317 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.9295, allocations: 468.5 kB / 0.8322 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004877/0.93, allocations: 446.8 kB / 0.8326 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005232/0.9305, allocations: 240.4 kB / 0.8328 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.9307, allocations: 356.8 kB / 0.8332 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.9321, allocations: 0.6385 MB / 0.8338 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.9335, allocations: 0.7626 MB / 0.8345 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002874/0.9364, allocations: 1.479 MB / 0.836 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.9364, allocations: 4 kB / 0.836 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004474/0.9409, allocations: 1.981 MB / 0.8379 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.9409, allocations: 7.984 kB / 0.8379 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/0.9409, allocations: 8 kB / 0.8379 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.942, allocations: 345.5 kB / 0.8383 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.9431, allocations: 229.9 kB / 0.8385 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006302/0.9494, allocations: 3.787 MB / 0.8422 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.9506, allocations: 35.98 kB / 0.8422 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.9509, allocations: 55.94 kB / 0.8423 GB, free: 10.53 MB / 0.6075 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.000897/0.9518, allocations: 334.5 kB / 0.8426 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005143/0.9523, allocations: 139.1 kB / 0.8427 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005522/0.9578, allocations: 2.762 MB / 0.8454 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.9578, allocations: 12 kB / 0.8454 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.9578, allocations: 4 kB / 0.8454 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.9579, allocations: 7.922 kB / 0.8454 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006932/0.9648, allocations: 3.405 MB / 0.8488 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.9648, allocations: 0 / 0.8488 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009398/0.9657, allocations: 175.5 kB / 0.8489 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.9669, allocations: 404.8 kB / 0.8493 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/0.967, allocations: 47.92 kB / 0.8494 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006074/0.9731, allocations: 3.785 MB / 0.8531 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9731, allocations: 0 / 0.8531 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005721/0.9788, allocations: 2.824 MB / 0.8558 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008947/0.9797, allocations: 278.9 kB / 0.8561 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003676/0.9801, allocations: 28 kB / 0.8561 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009089/0.981, allocations: 31.98 kB / 0.8561 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.9812, allocations: 96.72 kB / 0.8562 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.9814, allocations: 47.94 kB / 0.8563 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001357/0.9827, allocations: 0.7081 MB / 0.857 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.9827, allocations: 0 / 0.857 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001949/0.9847, allocations: 485.9 kB / 0.8574 GB, free: 10.84 MB / 0.6231 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.007475/0.9921, allocations: 4.004 MB / 0.8613 GB, free: 7 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004245/0.9964, allocations: 1.832 MB / 0.8631 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.9964, allocations: 0 / 0.8631 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002237/0.9986, allocations: 1.155 MB / 0.8643 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/1.001, allocations: 431.4 kB / 0.8647 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02423/1.025, allocations: 12.1 MB / 0.8765 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.026, allocations: 1.179 MB / 0.8776 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001295/1.028, allocations: 340 kB / 0.878 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008691/1.029, allocations: 491.2 kB / 0.8784 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of SimCode: time 8.22e-07/1.029, allocations: 0 / 0.8784 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/1.137, allocations: 39.2 MB / 0.9167 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.14/19.27, allocations: 3.859 kB / 0.9167 GB, free: 14.41 MB / 0.6856 GB " [Timeout remaining time 641] (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.25245452206582] Failed to read output from testmodel.py, exit status != 0: 19.46685223397799 19.500181287 18.614818212 Calling exit ...