Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.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.001288/0.001288, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001437/0.001437, allocations: 216.5 kB / 22.99 MB, free: 4.977 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9211/0.9211, allocations: 149.9 MB / 463.1 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 69.64 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1889, allocations: 89.16 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5805/0.7694, allocations: 160.7 MB / 0.8851 GB, free: 4.484 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006701/0.7761, allocations: 4.142 MB / 0.8891 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005934/0.7767, allocations: 31.75 kB / 0.8891 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000721/0.7774, allocations: 254.1 kB / 0.8894 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.7795, allocations: 0.762 MB / 0.8901 GB, free: 15.29 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.7833, allocations: 1.55 MB / 0.8916 GB, free: 13.74 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001674/0.785, allocations: 1.25 MB / 0.8929 GB, free: 12.48 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005714/0.7855, allocations: 359.8 kB / 0.8932 GB, free: 12.13 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.7872, allocations: 0.8369 MB / 0.894 GB, free: 11.29 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005463/0.7877, allocations: 394.3 kB / 0.8944 GB, free: 10.9 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 8.249e-05/0.7878, allocations: 48 kB / 0.8944 GB, free: 10.86 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00238/0.7902, allocations: 1.246 MB / 0.8957 GB, free: 9.605 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.7904, allocations: 187.4 kB / 0.8958 GB, free: 9.422 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.7907, allocations: 254.8 kB / 0.8961 GB, free: 9.172 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.7927, allocations: 1.262 MB / 0.8973 GB, free: 7.906 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7927, allocations: 0 / 0.8973 GB, free: 7.906 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7927, allocations: 4 kB / 0.8973 GB, free: 7.902 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.7927, allocations: 4 kB / 0.8973 GB, free: 7.898 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001762/0.7945, allocations: 0.9604 MB / 0.8983 GB, free: 6.895 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.7945, allocations: 8.031 kB / 0.8983 GB, free: 6.887 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.7946, allocations: 91.08 kB / 0.8983 GB, free: 6.789 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.7965, allocations: 283.3 kB / 0.8986 GB, free: 6.512 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008599/0.7974, allocations: 406.6 kB / 0.899 GB, free: 6.09 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.7974, allocations: 37 kB / 0.899 GB, free: 6.055 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.591e-05/0.7975, allocations: 40.5 kB / 0.8991 GB, free: 6.016 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.7986, allocations: 0.5468 MB / 0.8996 GB, free: 5.434 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.7986, allocations: 3.938 kB / 0.8996 GB, free: 5.43 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.7987, allocations: 23.92 kB / 0.8996 GB, free: 5.406 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.7987, allocations: 15.94 kB / 0.8997 GB, free: 5.391 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.7997, allocations: 451.6 kB / 0.9001 GB, free: 4.949 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.8024, allocations: 1.78 MB / 0.9018 GB, free: 3.094 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/0.8034, allocations: 394.3 kB / 0.9022 GB, free: 2.699 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004857/0.8039, allocations: 212.5 kB / 0.9024 GB, free: 2.492 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005445/0.8044, allocations: 99.75 kB / 0.9025 GB, free: 2.395 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006246/0.805, allocations: 294.9 kB / 0.9028 GB, free: 2.094 MB / 0.67 GB Notification: Performance of pre-optimization done (n=37): time 2.535e-06/0.805, allocations: 0 / 0.9028 GB, free: 2.094 MB / 0.67 GB Notification: Performance of matching and sorting (n=37): time 0.001821/0.8069, allocations: 0.6893 MB / 0.9035 GB, free: 1.398 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.8069, allocations: 59.39 kB / 0.9035 GB, free: 1.328 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006152/0.8075, allocations: 0.4902 MB / 0.904 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.8076, allocations: 33.7 kB / 0.904 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.8078, allocations: 264.5 kB / 0.9043 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.8079, allocations: 130.9 kB / 0.9044 GB, free: 404 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.8081, allocations: 94.12 kB / 0.9045 GB, free: 304 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.8083, allocations: 362.7 kB / 0.9048 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005479/0.8088, allocations: 260.2 kB / 0.9051 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007151/0.8096, allocations: 492.9 kB / 0.9056 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.8106, allocations: 0.5487 MB / 0.9061 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8106, allocations: 0 / 0.9061 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001384/0.812, allocations: 0.7066 MB / 0.9068 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.764e-05/0.8121, allocations: 65.27 kB / 0.9068 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.8121, allocations: 4 kB / 0.9068 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.8121, allocations: 4 kB / 0.9068 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.8126, allocations: 95.88 kB / 0.9069 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.8126, allocations: 8.188 kB / 0.9069 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.8131, allocations: 87.52 kB / 0.907 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.8132, allocations: 23.98 kB / 0.9071 GB, free: 13.48 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002613/0.8134, allocations: 194.4 kB / 0.9072 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-05/0.8135, allocations: 60.12 kB / 0.9073 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.8148, allocations: 0.5394 MB / 0.9078 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.8148, allocations: 4 kB / 0.9078 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.8148, allocations: 3.25 kB / 0.9078 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.8148, allocations: 0 / 0.9078 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.8173, allocations: 1.267 MB / 0.9091 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.8173, allocations: 8.031 kB / 0.9091 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/0.8177, allocations: 75.88 kB / 0.9091 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.8177, allocations: 8 kB / 0.9092 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.8177, allocations: 8 kB / 0.9092 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.8178, allocations: 7.938 kB / 0.9092 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.8178, allocations: 7.938 kB / 0.9092 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.8196, allocations: 0.9447 MB / 0.9101 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002695/0.8199, allocations: 103.4 kB / 0.9102 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.14e-05/0.82, allocations: 12 kB / 0.9102 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.8204, allocations: 40.02 kB / 0.9102 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.8205, allocations: 55.67 kB / 0.9103 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.8206, allocations: 12 kB / 0.9103 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004804/0.821, allocations: 346.8 kB / 0.9106 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.821, allocations: 0 / 0.9106 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006279/0.8217, allocations: 151.9 kB / 0.9108 GB, free: 9.48 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002441/0.8241, allocations: 1.564 MB / 0.9123 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.8255, allocations: 0.6268 MB / 0.9129 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.8255, allocations: 3.938 kB / 0.9129 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007132/0.8263, allocations: 269.3 kB / 0.9132 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.8277, allocations: 286.3 kB / 0.9135 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008783/0.8365, allocations: 5.237 MB / 0.9186 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.8368, allocations: 270.1 kB / 0.9188 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005341/0.8373, allocations: 132.6 kB / 0.919 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.8376, allocations: 175.4 kB / 0.9191 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of SimCode: time 1.283e-06/0.8376, allocations: 0 / 0.9191 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05405/0.8917, allocations: 17.63 MB / 0.9363 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/12.23, allocations: 13.81 kB / 0.9364 GB, free: 15.32 MB / 0.7169 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.99877670686692] Failed to read output from testmodel.py, exit status != 0: 12.348880409728736 12.370075971 11.57328712 Calling exit ...