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.001333/0.001333, allocations: 116.3 kB / 17.84 MB, free: 5.312 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.001438/0.001438, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.452/1.452, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.9443/0.9443, allocations: 150 MB / 460.2 MB, free: 5.227 MB / 350.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.001916/0.001916, allocations: 75.19 kB / 0.6368 GB, free: 30.35 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1713, allocations: 89.12 MB / 0.7239 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6355/0.8068, allocations: 185.3 MB / 0.9049 GB, free: 2.637 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009992/0.8168, allocations: 4.475 MB / 0.9092 GB, free: 2.527 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.818, allocations: 27.97 kB / 0.9092 GB, free: 2.527 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.8192, allocations: 252.4 kB / 0.9095 GB, free: 2.523 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.8223, allocations: 0.7892 MB / 0.9103 GB, free: 2.488 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005792/0.8281, allocations: 1.554 MB / 0.9118 GB, free: 2.426 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00218/0.8302, allocations: 1.247 MB / 0.913 GB, free: 2.422 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007517/0.831, allocations: 385.2 kB / 0.9134 GB, free: 2.391 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/0.8334, allocations: 0.8219 MB / 0.9142 GB, free: 2.375 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007675/0.8341, allocations: 419.5 kB / 0.9146 GB, free: 2.375 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.907e-05/0.8342, allocations: 45.03 kB / 0.9146 GB, free: 2.375 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004422/0.8386, allocations: 1.625 MB / 0.9162 GB, free: 2.363 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003192/0.839, allocations: 196.7 kB / 0.9164 GB, free: 2.359 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000487/0.8394, allocations: 303.5 kB / 0.9167 GB, free: 2.359 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002784/0.8422, allocations: 1.317 MB / 0.918 GB, free: 2.211 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8422, allocations: 0 / 0.918 GB, free: 2.211 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.326e-06/0.8422, allocations: 2.375 kB / 0.918 GB, free: 2.211 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.936e-05/0.8423, allocations: 4 kB / 0.918 GB, free: 2.207 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.00265/0.8449, allocations: 1.038 MB / 0.919 GB, free: 17.52 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.845, allocations: 8.438 kB / 0.919 GB, free: 17.52 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.634e-05/0.845, allocations: 16.88 kB / 0.919 GB, free: 17.51 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.8451, allocations: 81.3 kB / 0.9191 GB, free: 17.47 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003523/0.8486, allocations: 287 kB / 0.9194 GB, free: 17.43 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.8499, allocations: 473.8 kB / 0.9198 GB, free: 17.16 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/0.85, allocations: 35.73 kB / 0.9198 GB, free: 17.16 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.8501, allocations: 43.34 kB / 0.9199 GB, free: 17.16 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.8517, allocations: 0.5565 MB / 0.9204 GB, free: 17.04 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.8517, allocations: 0 / 0.9204 GB, free: 17.04 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.225e-05/0.8518, allocations: 14.88 kB / 0.9204 GB, free: 17.04 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.8518, allocations: 15.5 kB / 0.9205 GB, free: 17.04 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.8535, allocations: 453.4 kB / 0.9209 GB, free: 17.03 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004066/0.8576, allocations: 2.123 MB / 0.923 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.8591, allocations: 387 kB / 0.9233 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008031/0.8599, allocations: 221.3 kB / 0.9235 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/0.8611, allocations: 401.4 kB / 0.9239 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000952/0.862, allocations: 294.4 kB / 0.9242 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=37): time 3.847e-06/0.862, allocations: 0 / 0.9242 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37): time 0.002886/0.8649, allocations: 0.6887 MB / 0.9249 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.865, allocations: 65.44 kB / 0.9249 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006577/0.8657, allocations: 486.2 kB / 0.9254 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/0.8657, allocations: 38.59 kB / 0.9254 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.8659, allocations: 263.8 kB / 0.9257 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.968e-05/0.866, allocations: 128.7 kB / 0.9258 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.8661, allocations: 94.19 kB / 0.9259 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.8663, allocations: 369.3 kB / 0.9263 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/0.8667, allocations: 198.2 kB / 0.9264 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005052/0.8672, allocations: 317.9 kB / 0.9267 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009312/0.8682, allocations: 0.5464 MB / 0.9273 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.8682, allocations: 2.125 kB / 0.9273 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001229/0.8694, allocations: 0.6484 MB / 0.9279 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/0.8695, allocations: 61.97 kB / 0.928 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.8695, allocations: 3.125 kB / 0.928 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.8695, allocations: 5.5 kB / 0.928 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.8699, allocations: 99.23 kB / 0.9281 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.8699, allocations: 3 kB / 0.9281 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005468/0.8705, allocations: 91.91 kB / 0.9282 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.8705, allocations: 20.5 kB / 0.9282 GB, free: 13.91 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.0002368/0.8708, allocations: 191.4 kB / 0.9284 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.849e-05/0.8709, allocations: 58.42 kB / 0.9284 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.872, allocations: 0.5334 MB / 0.9289 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.872, allocations: 4.844 kB / 0.929 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.8721, allocations: 0 / 0.929 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.8721, allocations: 3 kB / 0.929 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.8741, allocations: 1.357 MB / 0.9303 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.8741, allocations: 2.594 kB / 0.9303 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.8745, allocations: 81.64 kB / 0.9304 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.8745, allocations: 2.781 kB / 0.9304 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.8746, allocations: 10.91 kB / 0.9304 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.8746, allocations: 12.56 kB / 0.9304 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.8746, allocations: 2.531 kB / 0.9304 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.8762, allocations: 0.9451 MB / 0.9313 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.8764, allocations: 168 kB / 0.9315 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.8765, allocations: 13.97 kB / 0.9315 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.877, allocations: 38.94 kB / 0.9315 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.8771, allocations: 54.16 kB / 0.9316 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.8771, allocations: 20.19 kB / 0.9316 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004048/0.8775, allocations: 345 kB / 0.9319 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8775, allocations: 0 / 0.9319 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000611/0.8781, allocations: 153.5 kB / 0.9321 GB, free: 12.72 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.002193/0.8803, allocations: 1.566 MB / 0.9336 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.8816, allocations: 0.5621 MB / 0.9341 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.8816, allocations: 3.938 kB / 0.9341 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006092/0.8822, allocations: 268.7 kB / 0.9344 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.8836, allocations: 291.4 kB / 0.9347 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00856/0.8921, allocations: 5.024 MB / 0.9396 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.8927, allocations: 0.8675 MB / 0.9404 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005109/0.8932, allocations: 126.9 kB / 0.9406 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/0.8935, allocations: 176 kB / 0.9407 GB, free: 8.809 MB / 0.6856 GB Notification: Performance of SimCode: time 7.72e-07/0.8935, allocations: 2.469 kB / 0.9407 GB, free: 8.809 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04138/0.9349, allocations: 15.96 MB / 0.9563 GB, free: 1.031 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.148/10.08, allocations: 12 kB / 0.9563 GB, free: 1.02 MB / 0.6856 GB " [Timeout remaining time 650] (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: 13.977185711963102] Failed to read output from testmodel.py, exit status != 0: 10.21584407100454 10.231866 9.386367959 Calling exit ...