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.001569/0.001569, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001608/0.001608, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.418/1.418, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.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.002321/0.002321, allocations: 281.9 kB / 303.6 MB, free: 3.727 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.029/1.029, allocations: 180.9 MB / 0.5268 GB, free: 2.641 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.002926/0.002926, allocations: 99.84 kB / 0.7259 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4931/0.4961, allocations: 94.16 MB / 0.8179 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2069/0.703, allocations: 182.4 MB / 0.996 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006442/0.7094, allocations: 4.476 MB / 1 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006329/0.7101, allocations: 19.88 kB / 1 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006966/0.7108, allocations: 250 kB / 1.001 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.7127, allocations: 0.7932 MB / 1.001 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003625/0.7163, allocations: 1.553 MB / 1.003 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001579/0.7179, allocations: 1.259 MB / 1.004 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005751/0.7185, allocations: 385.3 kB / 1.005 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.7195, allocations: 0.5877 MB / 1.005 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005791/0.7201, allocations: 430.2 kB / 1.005 GB, free: 360 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.336e-05/0.7202, allocations: 48 kB / 1.006 GB, free: 312 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.7233, allocations: 1.652 MB / 1.007 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.7236, allocations: 183.4 kB / 1.007 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003615/0.7239, allocations: 314.5 kB / 1.008 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002234/0.7262, allocations: 1.297 MB / 1.009 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.7262, allocations: 0 / 1.009 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7262, allocations: 0 / 1.009 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.601e-05/0.7262, allocations: 4 kB / 1.009 GB, free: 12.86 MB / 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.001802/0.728, allocations: 1.047 MB / 1.01 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.728, allocations: 8.031 kB / 1.01 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001982/0.73, allocations: 291.2 kB / 1.01 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007701/0.7308, allocations: 469.8 kB / 1.011 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.7308, allocations: 33 kB / 1.011 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.178e-05/0.7309, allocations: 44 kB / 1.011 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.7319, allocations: 0.5468 MB / 1.011 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.7319, allocations: 0 / 1.011 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.732, allocations: 16 kB / 1.011 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.732, allocations: 15.94 kB / 1.011 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.7331, allocations: 455.5 kB / 1.012 GB, free: 9.82 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.002578/0.7356, allocations: 2.124 MB / 1.014 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009865/0.7366, allocations: 400.3 kB / 1.014 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/0.7371, allocations: 212.6 kB / 1.014 GB, free: 6.949 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006956/0.7378, allocations: 396.9 kB / 1.015 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006276/0.7384, allocations: 291.1 kB / 1.015 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 2.113e-06/0.7384, allocations: 0 / 1.015 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.001845/0.7403, allocations: 0.6963 MB / 1.016 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.7403, allocations: 59.39 kB / 1.016 GB, free: 5.418 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006406/0.741, allocations: 498 kB / 1.016 GB, free: 4.918 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.434e-05/0.741, allocations: 37.7 kB / 1.016 GB, free: 4.875 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.7412, allocations: 264.4 kB / 1.017 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.7414, allocations: 126.9 kB / 1.017 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.7415, allocations: 98.08 kB / 1.017 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.7417, allocations: 362.8 kB / 1.017 GB, free: 4.023 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.7422, allocations: 192.8 kB / 1.017 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/0.7428, allocations: 324.1 kB / 1.018 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.7439, allocations: 0.5487 MB / 1.018 GB, free: 2.883 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7439, allocations: 0 / 1.018 GB, free: 2.883 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001412/0.7453, allocations: 0.656 MB / 1.019 GB, free: 2.207 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.224e-05/0.7454, allocations: 63.39 kB / 1.019 GB, free: 2.133 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.7454, allocations: 4 kB / 1.019 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.7454, allocations: 4.375 kB / 1.019 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.7458, allocations: 103.9 kB / 1.019 GB, free: 2.023 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.7459, allocations: 7.938 kB / 1.019 GB, free: 2.016 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/0.7464, allocations: 79.58 kB / 1.019 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.099e-05/0.7465, allocations: 20 kB / 1.019 GB, free: 1.918 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.0002537/0.7467, allocations: 195.9 kB / 1.019 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.725e-05/0.7468, allocations: 55.67 kB / 1.019 GB, free: 1.664 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.7481, allocations: 0.533 MB / 1.02 GB, free: 1.121 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.7481, allocations: 4 kB / 1.02 GB, free: 1.117 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7481, allocations: 0 / 1.02 GB, free: 1.117 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.7481, allocations: 3.984 kB / 1.02 GB, free: 1.113 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.7504, allocations: 1.349 MB / 1.021 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.7504, allocations: 7.938 kB / 1.021 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.7508, allocations: 75.88 kB / 1.021 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.7508, allocations: 8 kB / 1.021 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.7509, allocations: 11.98 kB / 1.021 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.7509, allocations: 8 kB / 1.021 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.7509, allocations: 11.92 kB / 1.021 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.7527, allocations: 0.9337 MB / 1.022 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.7529, allocations: 176.6 kB / 1.022 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.672e-05/0.753, allocations: 12 kB / 1.022 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/0.7534, allocations: 39.95 kB / 1.022 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.7535, allocations: 51.89 kB / 1.022 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.7536, allocations: 16 kB / 1.022 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004335/0.754, allocations: 350.8 kB / 1.023 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7e-08/0.754, allocations: 0 / 1.023 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0005872/0.7546, allocations: 151.8 kB / 1.023 GB, free: 13.75 MB / 0.7637 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.0004758/0.7551, allocations: 204.8 kB / 1.023 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.7563, allocations: 0.5653 MB / 1.024 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.7563, allocations: 0 / 1.024 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006233/0.7569, allocations: 259 kB / 1.024 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.7583, allocations: 279.4 kB / 1.024 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.7602, allocations: 1.081 MB / 1.025 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.7606, allocations: 0.8664 MB / 1.026 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.7608, allocations: 51.42 kB / 1.026 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of SimCode: time 9.42e-07/0.7608, allocations: 0 / 1.026 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of Templates: time 0.01461/0.7755, allocations: 9.125 MB / 1.035 GB, free: 1.32 MB / 0.7637 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.00044508301653] Failed to read output from testmodel.py, exit status != 0: 0.7842604508623481 0.797331847 0.068289686 Calling exit ...