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.001767/0.001767, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00236/0.00236, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.8015/0.8015, allocations: 100.3 MB / 413.5 MB, free: 3.645 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.002505/0.002505, allocations: 84.5 kB / 0.564 GB, free: 35.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1348, allocations: 74.46 MB / 0.6367 GB, free: 7.684 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.4843/0.619, allocations: 162.9 MB / 0.7958 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01318/0.6322, allocations: 12.93 MB / 0.8084 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.6336, allocations: 50.53 kB / 0.8085 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.6352, allocations: 0.6763 MB / 0.8091 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003316/0.6386, allocations: 1.224 MB / 0.8103 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.6412, allocations: 0.9203 MB / 0.8112 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002257/0.6435, allocations: 1.947 MB / 0.8131 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004243/0.6439, allocations: 216 kB / 0.8133 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.6452, allocations: 0.9026 MB / 0.8142 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.6467, allocations: 1.111 MB / 0.8153 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002363/0.6469, allocations: 134.8 kB / 0.8154 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00381/0.6507, allocations: 1.563 MB / 0.8169 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004967/0.6512, allocations: 391.7 kB / 0.8173 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008594/0.6521, allocations: 0.7186 MB / 0.818 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004494/0.6565, allocations: 2.201 MB / 0.8202 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6566, allocations: 0 / 0.8202 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6566, allocations: 0 / 0.8202 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.195e-05/0.6566, allocations: 6.781 kB / 0.8202 GB, free: 9.703 MB / 0.5919 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.004748/0.6613, allocations: 2.006 MB / 0.8221 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6614, allocations: 7.875 kB / 0.8221 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.682e-05/0.6614, allocations: 24.72 kB / 0.8222 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001805/0.6616, allocations: 140.7 kB / 0.8223 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003282/0.6619, allocations: 161.2 kB / 0.8225 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.6637, allocations: 0.9094 MB / 0.8233 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.6638, allocations: 123.3 kB / 0.8235 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.664, allocations: 99.48 kB / 0.8236 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/0.6664, allocations: 1.485 MB / 0.825 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.6664, allocations: 0 / 0.825 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.6665, allocations: 43.72 kB / 0.825 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.662e-05/0.6666, allocations: 50.17 kB / 0.8251 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003131/0.6697, allocations: 2.083 MB / 0.8271 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008656/0.6784, allocations: 5.122 MB / 0.8321 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.6803, allocations: 1.245 MB / 0.8333 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.6814, allocations: 0.8135 MB / 0.8341 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00485/0.6863, allocations: 2.446 MB / 0.8365 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.6863, allocations: 44.28 kB / 0.8366 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=119): time 4.359e-06/0.6863, allocations: 6.828 kB / 0.8366 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121): time 0.009042/0.6954, allocations: 4.714 MB / 0.8412 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.6954, allocations: 62.38 kB / 0.8412 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.6966, allocations: 0.9279 MB / 0.8421 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.6967, allocations: 46.55 kB / 0.8422 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/0.6971, allocations: 470.7 kB / 0.8426 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003651/0.6974, allocations: 452.5 kB / 0.8431 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003835/0.6978, allocations: 238 kB / 0.8433 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.698, allocations: 359.9 kB / 0.8436 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.699, allocations: 0.6304 MB / 0.8443 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.7002, allocations: 0.772 MB / 0.845 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/0.7027, allocations: 1.484 MB / 0.8465 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.7027, allocations: 0 / 0.8465 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003861/0.7065, allocations: 1.976 MB / 0.8484 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.7066, allocations: 8 kB / 0.8484 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.7066, allocations: 15.94 kB / 0.8484 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009912/0.7076, allocations: 340.6 kB / 0.8487 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.7087, allocations: 235.6 kB / 0.849 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005667/0.7144, allocations: 3.785 MB / 0.8527 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.7154, allocations: 35.98 kB / 0.8527 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002622/0.7157, allocations: 59.94 kB / 0.8527 GB, free: 1.062 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.0006539/0.7163, allocations: 321.6 kB / 0.8531 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003745/0.7167, allocations: 135.2 kB / 0.8532 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/0.7212, allocations: 2.771 MB / 0.8559 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.7212, allocations: 8 kB / 0.8559 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.7212, allocations: 10.19 kB / 0.8559 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.7212, allocations: 3.984 kB / 0.8559 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005739/0.727, allocations: 3.396 MB / 0.8592 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.727, allocations: 4 kB / 0.8592 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000903/0.7279, allocations: 179.6 kB / 0.8594 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/0.7289, allocations: 396.9 kB / 0.8598 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.729, allocations: 51.92 kB / 0.8598 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005379/0.7344, allocations: 3.782 MB / 0.8635 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7344, allocations: 4.688 kB / 0.8635 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004968/0.7394, allocations: 2.82 MB / 0.8663 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007413/0.7401, allocations: 271 kB / 0.8665 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/0.7404, allocations: 31.95 kB / 0.8666 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000841/0.7413, allocations: 27.98 kB / 0.8666 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/0.7415, allocations: 100.7 kB / 0.8667 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.7416, allocations: 48.81 kB / 0.8667 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001151/0.7428, allocations: 0.7081 MB / 0.8674 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.7428, allocations: 0 / 0.8674 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001686/0.7444, allocations: 487.4 kB / 0.8679 GB, free: 1.297 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.007163/0.7516, allocations: 4.011 MB / 0.8718 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003713/0.7553, allocations: 1.844 MB / 0.8736 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7553, allocations: 0 / 0.8736 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002324/0.7576, allocations: 1.143 MB / 0.8747 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.76, allocations: 443.7 kB / 0.8752 GB, free: 9.98 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02108/0.7811, allocations: 12.1 MB / 0.887 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009222/0.782, allocations: 1.18 MB / 0.8881 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001074/0.7831, allocations: 344 kB / 0.8885 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007944/0.7839, allocations: 487.2 kB / 0.8889 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of SimCode: time 1.512e-06/0.7839, allocations: 3.938 kB / 0.8889 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07933/0.8632, allocations: 39.21 MB / 0.9272 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.79/18.66, allocations: 19.84 kB / 0.9272 GB, free: 4.645 MB / 0.6856 GB " [Timeout remaining time 641] (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: 22.35158691497054] Failed to read output from testmodel.py, exit status != 0: 18.902103804051876 18.925673843 18.265801478 Calling exit ...