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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 193.9 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.6 MB / 251.6 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002522/0.002522, allocations: 284.1 kB / 307 MB, free: 8.379 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.226/1.226, allocations: 180.8 MB / 0.5304 GB, free: 14.56 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002764/0.002764, allocations: 103 kB / 0.7311 GB, free: 38.64 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2109, allocations: 94.21 MB / 0.8231 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2232/0.4341, allocations: 180.2 MB / 0.9991 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.00801/0.4421, allocations: 4.46 MB / 1.003 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008325/0.443, allocations: 31.69 kB / 1.003 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008639/0.4438, allocations: 262.1 kB / 1.004 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002354/0.4462, allocations: 0.7932 MB / 1.005 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00444/0.4506, allocations: 1.603 MB / 1.006 GB, free: 5.945 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00227/0.4529, allocations: 1.27 MB / 1.007 GB, free: 4.672 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007127/0.4536, allocations: 373.7 kB / 1.008 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.455, allocations: 0.5877 MB / 1.008 GB, free: 3.711 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006992/0.4557, allocations: 438.2 kB / 1.009 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.078e-05/0.4558, allocations: 47.94 kB / 1.009 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.4587, allocations: 1.285 MB / 1.01 GB, free: 1.945 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.459, allocations: 195.4 kB / 1.01 GB, free: 1.754 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003729/0.4593, allocations: 298.5 kB / 1.01 GB, free: 1.461 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002428/0.4618, allocations: 1.254 MB / 1.012 GB, free: 208 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.4618, allocations: 0 / 1.012 GB, free: 208 kB / 0.7481 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4618, allocations: 0 / 1.012 GB, free: 208 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.4618, allocations: 3.984 kB / 1.012 GB, free: 204 kB / 0.7481 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.4342/0.896, allocations: 0.96 MB / 1.013 GB, free: 193.2 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.896, allocations: 8.75 kB / 1.013 GB, free: 193.2 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.8981, allocations: 289.2 kB / 1.013 GB, free: 193.1 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008196/0.8989, allocations: 404.8 kB / 1.013 GB, free: 192.9 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.899, allocations: 31.16 kB / 1.013 GB, free: 192.9 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.302e-05/0.8991, allocations: 42.06 kB / 1.013 GB, free: 192.9 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.9001, allocations: 0.5533 MB / 1.014 GB, free: 192.8 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.9001, allocations: 2.625 kB / 1.014 GB, free: 192.8 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.9002, allocations: 17.34 kB / 1.014 GB, free: 192.8 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.9002, allocations: 10.19 kB / 1.014 GB, free: 192.8 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.9013, allocations: 461.6 kB / 1.014 GB, free: 192.8 MB / 0.7481 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.002523/0.9038, allocations: 2.069 MB / 1.016 GB, free: 191.6 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.9048, allocations: 392.5 kB / 1.017 GB, free: 191.6 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/0.9053, allocations: 214.6 kB / 1.017 GB, free: 191.5 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005767/0.9059, allocations: 100.2 kB / 1.017 GB, free: 191.5 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000668/0.9066, allocations: 291.6 kB / 1.017 GB, free: 191.5 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 3.006e-06/0.9066, allocations: 0 / 1.017 GB, free: 191.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.002106/0.9087, allocations: 0.6873 MB / 1.018 GB, free: 191.2 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.9087, allocations: 58.33 kB / 1.018 GB, free: 191.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007257/0.9095, allocations: 494.8 kB / 1.019 GB, free: 191 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.9095, allocations: 41.84 kB / 1.019 GB, free: 190.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.9097, allocations: 264.5 kB / 1.019 GB, free: 190.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.9098, allocations: 126.5 kB / 1.019 GB, free: 190.6 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.91, allocations: 96.97 kB / 1.019 GB, free: 190.6 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.9101, allocations: 365.4 kB / 1.019 GB, free: 190.2 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000527/0.9106, allocations: 252.8 kB / 1.02 GB, free: 190.1 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/0.9113, allocations: 0.4908 MB / 1.02 GB, free: 189.7 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009982/0.9123, allocations: 0.5505 MB / 1.021 GB, free: 189.4 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.9123, allocations: 0.8438 kB / 1.021 GB, free: 189.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001486/0.9137, allocations: 0.7049 MB / 1.021 GB, free: 189.1 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.9138, allocations: 61 kB / 1.021 GB, free: 189 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.9138, allocations: 2.906 kB / 1.021 GB, free: 189 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.9138, allocations: 6.266 kB / 1.021 GB, free: 189 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.9143, allocations: 99.58 kB / 1.021 GB, free: 189 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.9143, allocations: 6.625 kB / 1.022 GB, free: 189 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005518/0.9149, allocations: 80.77 kB / 1.022 GB, free: 189 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.9149, allocations: 25.98 kB / 1.022 GB, free: 189 MB / 0.7481 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.0002315/0.9152, allocations: 195 kB / 1.022 GB, free: 188.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.067e-05/0.9153, allocations: 56.16 kB / 1.022 GB, free: 188.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.9166, allocations: 0.5414 MB / 1.022 GB, free: 188.6 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.9166, allocations: 3.969 kB / 1.022 GB, free: 188.6 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.9166, allocations: 1.375 kB / 1.022 GB, free: 188.6 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.9166, allocations: 3.344 kB / 1.022 GB, free: 188.6 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/0.919, allocations: 1.326 MB / 1.024 GB, free: 187.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.919, allocations: 3.562 kB / 1.024 GB, free: 187.9 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.9194, allocations: 75.88 kB / 1.024 GB, free: 187.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.9194, allocations: 7.688 kB / 1.024 GB, free: 187.9 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.9195, allocations: 13.25 kB / 1.024 GB, free: 187.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/0.9195, allocations: 11.2 kB / 1.024 GB, free: 187.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.9195, allocations: 3.469 kB / 1.024 GB, free: 187.9 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.9213, allocations: 0.9368 MB / 1.025 GB, free: 187.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.9215, allocations: 101 kB / 1.025 GB, free: 187.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.134e-05/0.9216, allocations: 14.88 kB / 1.025 GB, free: 187.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004536/0.9221, allocations: 37.59 kB / 1.025 GB, free: 187.3 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.9222, allocations: 51.92 kB / 1.025 GB, free: 187.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.9222, allocations: 21.34 kB / 1.025 GB, free: 187.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004062/0.9226, allocations: 346 kB / 1.025 GB, free: 187.2 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.9226, allocations: 0.6875 kB / 1.025 GB, free: 187.2 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006559/0.9233, allocations: 153.6 kB / 1.025 GB, free: 187.1 MB / 0.7481 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.0004303/0.9237, allocations: 190.7 kB / 1.026 GB, free: 187 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.9251, allocations: 0.6213 MB / 1.026 GB, free: 186.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9251, allocations: 0.7812 kB / 1.026 GB, free: 186.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007397/0.9258, allocations: 284.2 kB / 1.026 GB, free: 186.6 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.9273, allocations: 293 kB / 1.027 GB, free: 186.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.9292, allocations: 1.064 MB / 1.028 GB, free: 185.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.9296, allocations: 0.8643 MB / 1.029 GB, free: 185 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000534/0.9302, allocations: 128 kB / 1.029 GB, free: 184.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.9303, allocations: 40.97 kB / 1.029 GB, free: 184.9 MB / 0.7481 GB Notification: Performance of SimCode: time 1.273e-06/0.9303, allocations: 0 / 1.029 GB, free: 184.9 MB / 0.7481 GB Notification: Performance of Templates: time 0.01649/0.9468, allocations: 11.16 MB / 1.04 GB, free: 175.4 MB / 0.7481 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.123571282951161] Failed to read output from testmodel.py, exit status != 0: 0.9541230760514736 0.963407519 0.49933438199999997 Calling exit ...