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.001348/0.001348, allocations: 104.3 kB / 20.48 MB, free: 1.383 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.001576/0.001576, allocations: 212 kB / 23.78 MB, free: 4.555 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.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.9538/0.9538, allocations: 150 MB / 464 MB, free: 10.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="cs",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.001913/0.001913, allocations: 66.25 kB / 0.642 GB, free: 9.93 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1868, allocations: 89.17 MB / 0.7291 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5805/0.7673, allocations: 160.5 MB / 0.8858 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006921/0.7742, allocations: 4.146 MB / 0.8899 GB, free: 240 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009477/0.7752, allocations: 27.75 kB / 0.8899 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.7762, allocations: 258.1 kB / 0.8901 GB, free: 15.95 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.7789, allocations: 0.7581 MB / 0.8909 GB, free: 15.19 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004329/0.7832, allocations: 1.557 MB / 0.8924 GB, free: 13.63 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002036/0.7852, allocations: 1.262 MB / 0.8936 GB, free: 12.37 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008314/0.7861, allocations: 365.5 kB / 0.894 GB, free: 12.01 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.7881, allocations: 0.833 MB / 0.8948 GB, free: 11.17 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007962/0.7889, allocations: 422.2 kB / 0.8952 GB, free: 10.76 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.7891, allocations: 48 kB / 0.8953 GB, free: 10.71 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/0.7918, allocations: 1.266 MB / 0.8965 GB, free: 9.441 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.7921, allocations: 187.4 kB / 0.8967 GB, free: 9.258 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004964/0.7926, allocations: 254.8 kB / 0.8969 GB, free: 9.008 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.7951, allocations: 1.252 MB / 0.8981 GB, free: 7.754 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.7951, allocations: 4 kB / 0.8981 GB, free: 7.75 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7951, allocations: 4 kB / 0.8981 GB, free: 7.746 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.683e-05/0.7951, allocations: 0 / 0.8981 GB, free: 7.746 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.002038/0.7971, allocations: 0.9682 MB / 0.8991 GB, free: 6.734 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.7972, allocations: 8.031 kB / 0.8991 GB, free: 6.727 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.045e-05/0.7972, allocations: 17 kB / 0.8991 GB, free: 6.711 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.923e-05/0.7973, allocations: 78.52 kB / 0.8992 GB, free: 6.625 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.7994, allocations: 287.3 kB / 0.8995 GB, free: 6.344 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000926/0.8004, allocations: 406.6 kB / 0.8998 GB, free: 5.922 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.896e-05/0.8004, allocations: 29 kB / 0.8999 GB, free: 5.895 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.8005, allocations: 48 kB / 0.8999 GB, free: 5.848 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.8017, allocations: 0.5429 MB / 0.9005 GB, free: 5.266 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.8017, allocations: 4 kB / 0.9005 GB, free: 5.262 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/0.8018, allocations: 27.98 kB / 0.9005 GB, free: 5.234 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.8018, allocations: 8 kB / 0.9005 GB, free: 5.227 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.8029, allocations: 451.6 kB / 0.9009 GB, free: 4.789 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.8056, allocations: 1.787 MB / 0.9027 GB, free: 2.922 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009738/0.8065, allocations: 390.3 kB / 0.903 GB, free: 2.531 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004661/0.807, allocations: 213.9 kB / 0.9032 GB, free: 2.32 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005373/0.8075, allocations: 99.75 kB / 0.9033 GB, free: 2.223 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006329/0.8082, allocations: 283.5 kB / 0.9036 GB, free: 1.934 MB / 0.67 GB Notification: Performance of pre-optimization done (n=37): time 3.186e-06/0.8082, allocations: 4 kB / 0.9036 GB, free: 1.93 MB / 0.67 GB Notification: Performance of matching and sorting (n=37): time 0.001819/0.81, allocations: 0.6974 MB / 0.9043 GB, free: 1.227 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.8101, allocations: 55.41 kB / 0.9043 GB, free: 1.16 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005837/0.8106, allocations: 494.1 kB / 0.9048 GB, free: 0.6641 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/0.8107, allocations: 37.64 kB / 0.9049 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.8109, allocations: 260.5 kB / 0.9051 GB, free: 372 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.811, allocations: 138.9 kB / 0.9052 GB, free: 232 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.8112, allocations: 94.08 kB / 0.9053 GB, free: 132 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.8114, allocations: 362.7 kB / 0.9057 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005147/0.8119, allocations: 252.2 kB / 0.9059 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/0.8126, allocations: 495.7 kB / 0.9064 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.8136, allocations: 0.5526 MB / 0.9069 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.8136, allocations: 0.6875 kB / 0.9069 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001461/0.8151, allocations: 0.6949 MB / 0.9076 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 7.556e-05/0.8151, allocations: 71.33 kB / 0.9077 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.8152, allocations: 0 / 0.9077 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.8152, allocations: 8 kB / 0.9077 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/0.8157, allocations: 96.25 kB / 0.9078 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.8157, allocations: 8 kB / 0.9078 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/0.8163, allocations: 80.02 kB / 0.9079 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.8163, allocations: 23.98 kB / 0.9079 GB, free: 13.32 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.0003087/0.8166, allocations: 193.6 kB / 0.9081 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.474e-05/0.8167, allocations: 59.62 kB / 0.9081 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.818, allocations: 0.5402 MB / 0.9086 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.818, allocations: 4 kB / 0.9086 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.818, allocations: 0 / 0.9086 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.818, allocations: 0 / 0.9086 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.8204, allocations: 1.282 MB / 0.9099 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.8204, allocations: 0 / 0.9099 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.8208, allocations: 84.69 kB / 0.91 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.8208, allocations: 4 kB / 0.91 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.8209, allocations: 12 kB / 0.91 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.8209, allocations: 4 kB / 0.91 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.8209, allocations: 7.938 kB / 0.91 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.8226, allocations: 0.9448 MB / 0.9109 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.8228, allocations: 91.59 kB / 0.911 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.888e-05/0.8229, allocations: 17.86 kB / 0.911 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/0.8234, allocations: 44.02 kB / 0.9111 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.8235, allocations: 55.66 kB / 0.9111 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.8235, allocations: 12 kB / 0.9111 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004402/0.824, allocations: 350.8 kB / 0.9115 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.824, allocations: 0 / 0.9115 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006089/0.8246, allocations: 155.8 kB / 0.9116 GB, free: 9.316 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.002266/0.8268, allocations: 1.556 MB / 0.9131 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.8281, allocations: 0.6229 MB / 0.9138 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.8281, allocations: 0 / 0.9138 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006453/0.8287, allocations: 272.7 kB / 0.914 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.8301, allocations: 294 kB / 0.9143 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007692/0.8378, allocations: 5.247 MB / 0.9194 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.838, allocations: 270 kB / 0.9197 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00048/0.8385, allocations: 124.7 kB / 0.9198 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.8388, allocations: 175.4 kB / 0.92 GB, free: 376 kB / 0.6856 GB Notification: Performance of SimCode: time 1.032e-06/0.8388, allocations: 0 / 0.92 GB, free: 376 kB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04209/0.8809, allocations: 17.25 MB / 0.9368 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.95, allocations: 12.3 kB / 0.9368 GB, free: 15.59 MB / 0.7169 GB " [Timeout remaining time 647] (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: 16.78083375596907] Failed to read output from testmodel.py, exit status != 0: 13.117581412079744 13.133055508 12.334747501 Calling exit ...