Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 102.1 kB / 16.27 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.3 MB / 0.5495 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 59.91 kB / 0.6721 GB, free: 6.59 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2477, allocations: 114.6 MB / 0.784 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6488/0.8965, allocations: 181.8 MB / 0.9615 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.006884/0.9035, allocations: 4.445 MB / 0.9659 GB, free: 288 kB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007462/0.9042, allocations: 23.81 kB / 0.9659 GB, free: 264 kB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0006951/0.9049, allocations: 250.1 kB / 0.9661 GB, free: 12 kB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.907, allocations: 0.7619 MB / 0.9669 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003887/0.9109, allocations: 1.503 MB / 0.9684 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001769/0.9127, allocations: 1.254 MB / 0.9696 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006767/0.9134, allocations: 453.3 kB / 0.97 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.9146, allocations: 0.5682 MB / 0.9706 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.9152, allocations: 418.2 kB / 0.971 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.476e-05/0.9153, allocations: 44 kB / 0.971 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003224/0.9185, allocations: 1.539 MB / 0.9725 GB, free: 9.473 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.9188, allocations: 183.5 kB / 0.9727 GB, free: 9.293 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003836/0.9192, allocations: 306.5 kB / 0.973 GB, free: 8.992 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.9216, allocations: 1.299 MB / 0.9742 GB, free: 7.691 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.9216, allocations: 0 / 0.9742 GB, free: 7.691 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9216, allocations: 4 kB / 0.9743 GB, free: 7.688 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.9216, allocations: 4 kB / 0.9743 GB, free: 7.684 MB / 0.7637 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.001782/0.9234, allocations: 1.02 MB / 0.9753 GB, free: 6.602 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.9235, allocations: 12.03 kB / 0.9753 GB, free: 6.59 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.9255, allocations: 282.9 kB / 0.9755 GB, free: 6.312 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007253/0.9263, allocations: 441.5 kB / 0.976 GB, free: 5.84 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.9263, allocations: 33 kB / 0.976 GB, free: 5.809 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-05/0.9264, allocations: 44 kB / 0.976 GB, free: 5.766 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.9274, allocations: 0.5507 MB / 0.9766 GB, free: 5.184 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.9275, allocations: 0 / 0.9766 GB, free: 5.184 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/0.9275, allocations: 16 kB / 0.9766 GB, free: 5.168 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.9275, allocations: 11.94 kB / 0.9766 GB, free: 5.156 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.9286, allocations: 467.5 kB / 0.977 GB, free: 4.695 MB / 0.7637 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.002648/0.9313, allocations: 2.121 MB / 0.9791 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.9323, allocations: 411.2 kB / 0.9795 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005025/0.9328, allocations: 229.3 kB / 0.9797 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007016/0.9335, allocations: 396.9 kB / 0.9801 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006176/0.9342, allocations: 291.6 kB / 0.9804 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=37): time 2.204e-06/0.9342, allocations: 0 / 0.9804 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of matching and sorting (n=37): time 0.001866/0.9361, allocations: 0.6848 MB / 0.981 GB, free: 368 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.9361, allocations: 67.39 kB / 0.9811 GB, free: 288 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006021/0.9367, allocations: 498 kB / 0.9816 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.9368, allocations: 33.7 kB / 0.9816 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.937, allocations: 268 kB / 0.9819 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.9371, allocations: 126.2 kB / 0.982 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.9373, allocations: 82.12 kB / 0.9821 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.9375, allocations: 370.8 kB / 0.9824 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/0.9379, allocations: 192.8 kB / 0.9826 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.9385, allocations: 312.1 kB / 0.9829 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.9396, allocations: 0.5495 MB / 0.9834 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.9396, allocations: 4 kB / 0.9834 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00129/0.9409, allocations: 0.6528 MB / 0.9841 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.564e-05/0.941, allocations: 61.66 kB / 0.9841 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.941, allocations: 4 kB / 0.9841 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.941, allocations: 4 kB / 0.9842 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.9415, allocations: 96.5 kB / 0.9842 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.9415, allocations: 11.92 kB / 0.9843 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/0.9421, allocations: 80.27 kB / 0.9843 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/0.9421, allocations: 27.94 kB / 0.9844 GB, free: 12.8 MB / 0.7794 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.000243/0.9424, allocations: 189.7 kB / 0.9845 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.9425, allocations: 55.28 kB / 0.9846 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.9437, allocations: 0.5436 MB / 0.9851 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.9437, allocations: 7.984 kB / 0.9851 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.9437, allocations: 0 / 0.9851 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.9437, allocations: 0 / 0.9851 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.946, allocations: 1.353 MB / 0.9865 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.946, allocations: 4 kB / 0.9865 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.9464, allocations: 79.81 kB / 0.9865 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.9464, allocations: 4 kB / 0.9865 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.9465, allocations: 16.44 kB / 0.9866 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.872e-06/0.9465, allocations: 9.938 kB / 0.9866 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.9465, allocations: 7.938 kB / 0.9866 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.9482, allocations: 0.9248 MB / 0.9875 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002319/0.9484, allocations: 176.3 kB / 0.9876 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.687e-05/0.9485, allocations: 15.98 kB / 0.9877 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004267/0.949, allocations: 32.03 kB / 0.9877 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.9491, allocations: 59.28 kB / 0.9877 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.9492, allocations: 12 kB / 0.9878 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003976/0.9496, allocations: 346.8 kB / 0.9881 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.9496, allocations: 0 / 0.9881 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006073/0.9502, allocations: 155.8 kB / 0.9882 GB, free: 8.645 MB / 0.7794 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.0004688/0.9507, allocations: 190.4 kB / 0.9884 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001284/0.952, allocations: 0.5933 MB / 0.989 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.952, allocations: 0 / 0.989 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.9526, allocations: 266.4 kB / 0.9892 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.954, allocations: 288.9 kB / 0.9895 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.9561, allocations: 1.081 MB / 0.9906 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.9566, allocations: 0.8664 MB / 0.9914 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.9568, allocations: 51.42 kB / 0.9915 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of SimCode: time 8.71e-07/0.9568, allocations: 3.938 kB / 0.9915 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of Templates: time 0.01346/0.9702, allocations: 9.033 MB / 1 GB, free: 12.43 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)