Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.00157/0.00157, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001607/0.001607, allocations: 212.4 kB / 23.01 MB, free: 5.125 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.398/1.398, allocations: 230.6 MB / 256.8 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002561/0.002561, allocations: 286.9 kB / 313.5 MB, free: 2.863 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.181/1.181, allocations: 180.6 MB / 0.5377 GB, free: 12.95 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002949/0.002949, allocations: 105.2 kB / 0.7408 GB, free: 27.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.168, allocations: 95.38 MB / 0.834 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6049/0.7729, allocations: 185.6 MB / 1.015 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005431/0.7783, allocations: 4.516 MB / 1.02 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007246/0.779, allocations: 27.75 kB / 1.02 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006319/0.7796, allocations: 248.8 kB / 1.02 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.7815, allocations: 0.7936 MB / 1.021 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003407/0.7849, allocations: 1.599 MB / 1.022 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001674/0.7865, allocations: 1.277 MB / 1.023 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005686/0.7871, allocations: 360.9 kB / 1.024 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.7882, allocations: 0.596 MB / 1.024 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004957/0.7887, allocations: 437.5 kB / 1.025 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.486e-05/0.7887, allocations: 47.28 kB / 1.025 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.7915, allocations: 1.681 MB / 1.027 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.7917, allocations: 192.8 kB / 1.027 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003514/0.7921, allocations: 308.8 kB / 1.027 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.7945, allocations: 1.304 MB / 1.028 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7945, allocations: 1.375 kB / 1.028 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.502e-06/0.7945, allocations: 0.875 kB / 1.028 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.7945, allocations: 0 / 1.028 GB, free: 3.211 MB / 0.7169 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.001899/0.7964, allocations: 0.9726 MB / 1.029 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.7964, allocations: 11.41 kB / 1.029 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.7984, allocations: 290.8 kB / 1.03 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007985/0.7992, allocations: 398.6 kB / 1.03 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.7992, allocations: 32.59 kB / 1.03 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/0.7993, allocations: 43.84 kB / 1.03 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008917/0.8002, allocations: 0.5515 MB / 1.031 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.8002, allocations: 3.594 kB / 1.031 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.8002, allocations: 17.41 kB / 1.031 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.8002, allocations: 14.72 kB / 1.031 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008809/0.8011, allocations: 455.6 kB / 1.031 GB, free: 18.26 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.8036, allocations: 2.081 MB / 1.033 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008282/0.8045, allocations: 398 kB / 1.033 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004217/0.8049, allocations: 217.2 kB / 1.034 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005082/0.8054, allocations: 95.27 kB / 1.034 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005269/0.8059, allocations: 292.5 kB / 1.034 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 2.165e-06/0.8059, allocations: 0 / 1.034 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.00159/0.8075, allocations: 0.691 MB / 1.035 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.8076, allocations: 60.31 kB / 1.035 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004976/0.8081, allocations: 494.9 kB / 1.035 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.8081, allocations: 42.06 kB / 1.035 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.8083, allocations: 261.7 kB / 1.035 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.54e-05/0.8084, allocations: 130.7 kB / 1.036 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.8085, allocations: 93.73 kB / 1.036 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.8087, allocations: 361 kB / 1.036 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.8091, allocations: 199.6 kB / 1.036 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.8096, allocations: 314.7 kB / 1.037 GB, free: 16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008239/0.8104, allocations: 0.5405 MB / 1.037 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8104, allocations: 3.469 kB / 1.037 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001121/0.8115, allocations: 0.6572 MB / 1.038 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.836e-05/0.8116, allocations: 62.08 kB / 1.038 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.8116, allocations: 3.219 kB / 1.038 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.8116, allocations: 5.031 kB / 1.038 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/0.812, allocations: 98.59 kB / 1.038 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.812, allocations: 7.969 kB / 1.038 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/0.8125, allocations: 81.91 kB / 1.038 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/0.8126, allocations: 25.72 kB / 1.038 GB, free: 15.59 MB / 0.7325 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.0002311/0.8128, allocations: 186.2 kB / 1.038 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.8129, allocations: 63.34 kB / 1.038 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.814, allocations: 0.5284 MB / 1.039 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.814, allocations: 6.5 kB / 1.039 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.814, allocations: 0 / 1.039 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.814, allocations: 3 kB / 1.039 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.8159, allocations: 1.325 MB / 1.04 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.8159, allocations: 3.531 kB / 1.04 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.8163, allocations: 79.62 kB / 1.04 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.8163, allocations: 6.031 kB / 1.04 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.8164, allocations: 14.5 kB / 1.04 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.8164, allocations: 8.719 kB / 1.04 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8164, allocations: 3.594 kB / 1.04 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.8178, allocations: 0.944 MB / 1.041 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.818, allocations: 106.2 kB / 1.041 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.8181, allocations: 10.38 kB / 1.041 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004005/0.8185, allocations: 45.58 kB / 1.041 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.8186, allocations: 46.28 kB / 1.041 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.8186, allocations: 24.08 kB / 1.041 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003687/0.819, allocations: 343.7 kB / 1.042 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.819, allocations: 0.9688 kB / 1.042 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005809/0.8196, allocations: 154.6 kB / 1.042 GB, free: 14.55 MB / 0.7325 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.0003486/0.8199, allocations: 182.2 kB / 1.042 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.8211, allocations: 0.5723 MB / 1.042 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.8211, allocations: 0 / 1.042 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005069/0.8216, allocations: 255 kB / 1.043 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.8228, allocations: 286.3 kB / 1.043 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.8246, allocations: 1.094 MB / 1.044 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.8251, allocations: 0.8616 MB / 1.045 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.8253, allocations: 48.36 kB / 1.045 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of SimCode: time 8.11e-07/0.8253, allocations: 0 / 1.045 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.01306/0.8384, allocations: 9.1 MB / 1.054 GB, free: 10.9 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.268916564062238] Failed to read output from testmodel.py, exit status != 0: 0.8458843419793993 0.8591341889999999 0.061700468 Calling exit ...