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.001727/0.001727, 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.002183/0.002183, allocations: 215.9 kB / 23.04 MB, free: 5.074 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.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.7139/0.7139, allocations: 94.55 MB / 407.8 MB, free: 9.199 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.002354/0.002354, allocations: 83.8 kB / 0.5557 GB, free: 38.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1306, allocations: 73.06 MB / 0.6271 GB, free: 488 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.5127/0.6433, allocations: 162.9 MB / 0.7861 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01262/0.6559, allocations: 12.95 MB / 0.7988 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.6574, allocations: 48.62 kB / 0.7988 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.659, allocations: 0.673 MB / 0.7995 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003574/0.6626, allocations: 1.223 MB / 0.8006 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.6651, allocations: 0.9146 MB / 0.8015 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002305/0.6674, allocations: 1.936 MB / 0.8034 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004092/0.6678, allocations: 221.2 kB / 0.8036 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.6695, allocations: 0.9047 MB / 0.8045 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001856/0.6714, allocations: 1.104 MB / 0.8056 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003007/0.6717, allocations: 126.2 kB / 0.8057 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003467/0.6751, allocations: 1.573 MB / 0.8073 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004003/0.6755, allocations: 383 kB / 0.8076 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009814/0.6765, allocations: 0.7216 MB / 0.8083 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003871/0.6804, allocations: 2.205 MB / 0.8105 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6804, allocations: 0 / 0.8105 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6804, allocations: 2.469 kB / 0.8105 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.968e-05/0.6804, allocations: 0 / 0.8105 GB, free: 0.5625 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.004555/0.685, allocations: 2 MB / 0.8124 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.685, allocations: 11.03 kB / 0.8125 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.301e-05/0.685, allocations: 27.75 kB / 0.8125 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000197/0.6852, allocations: 141.3 kB / 0.8126 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000317/0.6856, allocations: 167.9 kB / 0.8128 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.6871, allocations: 0.901 MB / 0.8137 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.6872, allocations: 123.9 kB / 0.8138 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.6874, allocations: 97.09 kB / 0.8139 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.6896, allocations: 1.498 MB / 0.8153 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.6896, allocations: 0 / 0.8153 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.6897, allocations: 36.94 kB / 0.8154 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.253e-05/0.6898, allocations: 47.31 kB / 0.8154 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003071/0.6928, allocations: 2.081 MB / 0.8174 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008449/0.7013, allocations: 5.125 MB / 0.8224 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.7032, allocations: 1.247 MB / 0.8237 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.7044, allocations: 0.8175 MB / 0.8245 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005036/0.7094, allocations: 2.455 MB / 0.8269 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.7094, allocations: 48.83 kB / 0.8269 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=119): time 2.705e-06/0.7094, allocations: 0 / 0.8269 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121): time 0.009784/0.7192, allocations: 4.704 MB / 0.8315 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.7193, allocations: 66.25 kB / 0.8316 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.7207, allocations: 0.9206 MB / 0.8325 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/0.7208, allocations: 49.55 kB / 0.8325 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/0.7213, allocations: 471.8 kB / 0.833 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00048/0.7218, allocations: 445.5 kB / 0.8334 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005112/0.7223, allocations: 241.2 kB / 0.8336 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.7224, allocations: 353 kB / 0.8339 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.7236, allocations: 0.6412 MB / 0.8346 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.7248, allocations: 0.7598 MB / 0.8353 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/0.7273, allocations: 1.489 MB / 0.8368 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.7273, allocations: 0 / 0.8368 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003937/0.7312, allocations: 1.981 MB / 0.8387 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.7312, allocations: 8 kB / 0.8387 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.7313, allocations: 0 / 0.8387 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009716/0.7322, allocations: 352.6 kB / 0.839 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.7333, allocations: 230 kB / 0.8393 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005508/0.7388, allocations: 3.793 MB / 0.843 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.7398, allocations: 35.98 kB / 0.843 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/0.74, allocations: 55.94 kB / 0.8431 GB, free: 10.34 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.0007122/0.7407, allocations: 340.2 kB / 0.8434 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003781/0.7411, allocations: 131.2 kB / 0.8435 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004777/0.7459, allocations: 2.773 MB / 0.8462 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.7459, allocations: 8 kB / 0.8462 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.7459, allocations: 4 kB / 0.8462 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.7459, allocations: 7.984 kB / 0.8462 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006179/0.7521, allocations: 3.401 MB / 0.8496 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.819e-05/0.7521, allocations: 4 kB / 0.8496 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009199/0.753, allocations: 179.4 kB / 0.8497 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009819/0.754, allocations: 400.8 kB / 0.8501 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/0.7542, allocations: 43.94 kB / 0.8502 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005465/0.7596, allocations: 3.785 MB / 0.8539 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.7596, allocations: 4 kB / 0.8539 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00518/0.7648, allocations: 2.82 MB / 0.8566 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008054/0.7656, allocations: 279 kB / 0.8569 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003099/0.7659, allocations: 23.94 kB / 0.8569 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00083/0.7668, allocations: 31.98 kB / 0.8569 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.767, allocations: 104.7 kB / 0.857 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.7671, allocations: 48.8 kB / 0.8571 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001142/0.7683, allocations: 0.7081 MB / 0.8578 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.7683, allocations: 4 kB / 0.8578 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001679/0.7699, allocations: 475.5 kB / 0.8582 GB, free: 10.65 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.00748/0.7774, allocations: 4.005 MB / 0.8621 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003903/0.7813, allocations: 1.827 MB / 0.8639 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.7813, allocations: 0 / 0.8639 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002346/0.7837, allocations: 1.149 MB / 0.865 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.7861, allocations: 435.2 kB / 0.8655 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02024/0.8064, allocations: 12.1 MB / 0.8773 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009788/0.8074, allocations: 1.176 MB / 0.8784 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001152/0.8085, allocations: 352.4 kB / 0.8788 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008007/0.8093, allocations: 487.1 kB / 0.8792 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of SimCode: time 7.11e-07/0.8093, allocations: 0 / 0.8792 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08279/0.8921, allocations: 39.24 MB / 0.9175 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.36/18.26, allocations: 6.641 kB / 0.9176 GB, free: 14.19 MB / 0.6856 GB " [Timeout remaining time 642] (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: 21.784426749916747] Failed to read output from testmodel.py, exit status != 0: 18.490216471021995 18.505966837 17.822351292 Calling exit ...