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.001287/0.001287, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00144/0.00144, allocations: 214.3 kB / 22.25 MB, free: 4.859 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.805 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.8426/0.8426, allocations: 100.9 MB / 413.3 MB, free: 2.902 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping,fileNamePrefix="ThermofluidStream_dev_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.002524/0.002524, allocations: 100.2 kB / 0.5641 GB, free: 35.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1386, allocations: 74.61 MB / 0.6369 GB, free: 6.637 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Interfaces.Tests.Test_p_out_clipping): time 0.5041/0.6426, allocations: 140.6 MB / 0.7743 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01455/0.6572, allocations: 11.74 MB / 0.7857 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.6584, allocations: 51.44 kB / 0.7858 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.66, allocations: 0.6106 MB / 0.7864 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.6635, allocations: 1.211 MB / 0.7875 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.6663, allocations: 0.9064 MB / 0.7884 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002258/0.6686, allocations: 1.937 MB / 0.7903 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004011/0.669, allocations: 215.2 kB / 0.7905 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.6705, allocations: 0.899 MB / 0.7914 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.6721, allocations: 1.058 MB / 0.7924 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002066/0.6723, allocations: 126.5 kB / 0.7926 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002845/0.6751, allocations: 1.325 MB / 0.7939 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002966/0.6754, allocations: 390.5 kB / 0.7942 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005577/0.676, allocations: 0.5967 MB / 0.7948 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.679, allocations: 2.184 MB / 0.7969 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.679, allocations: 0 / 0.7969 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.679, allocations: 1 kB / 0.7969 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.455e-05/0.679, allocations: 0 / 0.7969 GB, free: 1.988 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.004225/0.6833, allocations: 2.001 MB / 0.7989 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.6833, allocations: 10.03 kB / 0.7989 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001643/0.6835, allocations: 146.4 kB / 0.799 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/0.6838, allocations: 179.8 kB / 0.7992 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.6854, allocations: 0.8926 MB / 0.8001 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.6855, allocations: 127.2 kB / 0.8002 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.6856, allocations: 96.08 kB / 0.8003 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/0.6877, allocations: 1.565 MB / 0.8018 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.6877, allocations: 0 / 0.8018 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/0.6878, allocations: 38.66 kB / 0.8019 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-05/0.6879, allocations: 55.97 kB / 0.8019 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.6906, allocations: 2.063 MB / 0.8039 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007346/0.698, allocations: 4.139 MB / 0.808 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.6999, allocations: 1.249 MB / 0.8092 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.701, allocations: 0.8164 MB / 0.81 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003543/0.7045, allocations: 1.602 MB / 0.8116 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.7046, allocations: 48.31 kB / 0.8116 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=120): time 3.136e-06/0.7046, allocations: 1 kB / 0.8116 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=122): time 0.008897/0.7135, allocations: 4.728 MB / 0.8162 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.7135, allocations: 64.38 kB / 0.8163 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.7147, allocations: 0.9218 MB / 0.8172 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.645e-05/0.7148, allocations: 47.52 kB / 0.8172 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/0.7152, allocations: 475.1 kB / 0.8177 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003616/0.7155, allocations: 449 kB / 0.8181 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000359/0.7159, allocations: 239.1 kB / 0.8183 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.716, allocations: 357.4 kB / 0.8187 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009537/0.717, allocations: 0.6351 MB / 0.8193 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.7182, allocations: 0.823 MB / 0.8201 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/0.7204, allocations: 1.495 MB / 0.8216 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.7204, allocations: 0.9062 kB / 0.8216 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003393/0.7238, allocations: 1.983 MB / 0.8235 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.7238, allocations: 9.156 kB / 0.8235 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.7238, allocations: 2.906 kB / 0.8235 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008867/0.7247, allocations: 344.8 kB / 0.8238 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.7257, allocations: 235.8 kB / 0.8241 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005184/0.7309, allocations: 3.722 MB / 0.8277 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009552/0.7319, allocations: 35.98 kB / 0.8277 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.732, allocations: 54.69 kB / 0.8278 GB, free: 3.961 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.0006295/0.7326, allocations: 331.4 kB / 0.8281 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/0.733, allocations: 137.5 kB / 0.8282 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004161/0.7371, allocations: 2.765 MB / 0.8309 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.7371, allocations: 10.69 kB / 0.8309 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.7371, allocations: 6.625 kB / 0.831 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.7372, allocations: 4.891 kB / 0.831 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004621/0.7418, allocations: 2.967 MB / 0.8339 GB, free: 176 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/0.7418, allocations: 7.828 kB / 0.8339 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008544/0.7427, allocations: 169.1 kB / 0.834 GB, free: 124 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009389/0.7436, allocations: 407.7 kB / 0.8344 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.7437, allocations: 48.91 kB / 0.8345 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005372/0.7491, allocations: 3.726 MB / 0.8381 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.7491, allocations: 11.08 kB / 0.8381 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004941/0.754, allocations: 2.825 MB / 0.8409 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008244/0.7548, allocations: 279 kB / 0.8411 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.7551, allocations: 28.83 kB / 0.8412 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007043/0.7558, allocations: 27.98 kB / 0.8412 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.756, allocations: 101.7 kB / 0.8413 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.7561, allocations: 47.94 kB / 0.8413 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001046/0.7571, allocations: 0.705 MB / 0.842 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.7571, allocations: 0 / 0.842 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001473/0.7586, allocations: 479.5 kB / 0.8425 GB, free: 8.23 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.007077/0.7657, allocations: 4.024 MB / 0.8464 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003541/0.7692, allocations: 1.828 MB / 0.8482 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.7692, allocations: 0 / 0.8482 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002193/0.7714, allocations: 1.146 MB / 0.8493 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.7736, allocations: 420.7 kB / 0.8497 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/0.7944, allocations: 12.13 MB / 0.8616 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007216/0.7951, allocations: 0.5822 MB / 0.8621 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00127/0.7963, allocations: 343.6 kB / 0.8625 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007849/0.7971, allocations: 491.2 kB / 0.8629 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of SimCode: time 1.472e-06/0.7971, allocations: 0 / 0.8629 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09014/0.8873, allocations: 40.59 MB / 0.9026 GB, free: 11.16 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.73, allocations: 7.547 kB / 0.9026 GB, free: 11.16 MB / 0.67 GB " [Timeout remaining time 646] (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: 17.427929438184947] Failed to read output from testmodel.py, exit status != 0: 13.925787880085409 13.955296117 13.270908166 Calling exit ...