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.001452/0.001453, allocations: 102.3 kB / 16.36 MB, free: 6.301 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.001454/0.001454, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.467/1.467, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.743/1.743, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.00143/0.00143, allocations: 67.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2497, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6459/0.8956, allocations: 181.8 MB / 0.9623 GB, free: 4.242 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.006423/0.9021, allocations: 4.447 MB / 0.9666 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006775/0.9028, allocations: 20.91 kB / 0.9667 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0007013/0.9036, allocations: 246.1 kB / 0.9669 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.9056, allocations: 0.7619 MB / 0.9676 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.9096, allocations: 1.523 MB / 0.9691 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.001727/0.9114, allocations: 1.254 MB / 0.9704 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000708/0.9121, allocations: 446 kB / 0.9708 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.9132, allocations: 0.5798 MB / 0.9713 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005081/0.9137, allocations: 402.4 kB / 0.9717 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.213e-05/0.9138, allocations: 44 kB / 0.9718 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003133/0.917, allocations: 1.547 MB / 0.9733 GB, free: 8.973 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.9172, allocations: 187.4 kB / 0.9735 GB, free: 8.789 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003894/0.9176, allocations: 300.1 kB / 0.9737 GB, free: 8.496 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002576/0.9202, allocations: 1.317 MB / 0.975 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.9202, allocations: 0 / 0.975 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.003e-06/0.9202, allocations: 0 / 0.975 GB, free: 7.176 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.9203, allocations: 0 / 0.975 GB, free: 7.176 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.001829/0.9221, allocations: 1.02 MB / 0.976 GB, free: 6.094 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.9221, allocations: 12.03 kB / 0.976 GB, free: 6.082 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.9241, allocations: 286.9 kB / 0.9763 GB, free: 5.801 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007725/0.9249, allocations: 473.4 kB / 0.9768 GB, free: 5.297 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.9249, allocations: 33 kB / 0.9768 GB, free: 5.266 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.03e-05/0.925, allocations: 40 kB / 0.9768 GB, free: 5.227 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009966/0.926, allocations: 0.5546 MB / 0.9774 GB, free: 4.641 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.926, allocations: 4 kB / 0.9774 GB, free: 4.637 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/0.9261, allocations: 16 kB / 0.9774 GB, free: 4.621 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.9261, allocations: 13.94 kB / 0.9774 GB, free: 4.609 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.9271, allocations: 459.5 kB / 0.9778 GB, free: 4.156 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.002415/0.9296, allocations: 2.11 MB / 0.9799 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009713/0.9306, allocations: 406.4 kB / 0.9803 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004852/0.931, allocations: 237.2 kB / 0.9805 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007021/0.9318, allocations: 400.9 kB / 0.9809 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006428/0.9324, allocations: 287.8 kB / 0.9812 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=37): time 2.264e-06/0.9324, allocations: 0 / 0.9812 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of matching and sorting (n=37): time 0.001801/0.9342, allocations: 0.6836 MB / 0.9818 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.9343, allocations: 63.39 kB / 0.9819 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005761/0.9349, allocations: 498 kB / 0.9824 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.9349, allocations: 37.69 kB / 0.9824 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.9351, allocations: 256.1 kB / 0.9827 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.9353, allocations: 126.2 kB / 0.9828 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.9354, allocations: 90.12 kB / 0.9829 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.9356, allocations: 362.8 kB / 0.9832 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004949/0.9361, allocations: 200.8 kB / 0.9834 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005551/0.9366, allocations: 316 kB / 0.9837 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009976/0.9377, allocations: 0.5456 MB / 0.9842 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.9377, allocations: 0 / 0.9842 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001278/0.939, allocations: 0.6623 MB / 0.9849 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.525e-05/0.939, allocations: 64.19 kB / 0.9849 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.939, allocations: 4 kB / 0.985 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.9391, allocations: 4 kB / 0.985 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.9395, allocations: 95.88 kB / 0.985 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.9395, allocations: 7.938 kB / 0.9851 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005397/0.9401, allocations: 75.64 kB / 0.9851 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.9402, allocations: 27.98 kB / 0.9852 GB, free: 12.27 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.0002421/0.9404, allocations: 193.6 kB / 0.9853 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.74e-05/0.9405, allocations: 57.91 kB / 0.9854 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.9417, allocations: 0.533 MB / 0.9859 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.9417, allocations: 4 kB / 0.9859 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.9417, allocations: 0 / 0.9859 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.9417, allocations: 0 / 0.9859 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.9439, allocations: 1.353 MB / 0.9872 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.9439, allocations: 7.938 kB / 0.9872 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/0.9444, allocations: 71.89 kB / 0.9873 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.9444, allocations: 5.5 kB / 0.9873 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.9444, allocations: 19.98 kB / 0.9873 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.9444, allocations: 4 kB / 0.9873 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.9444, allocations: 7.938 kB / 0.9874 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.9461, allocations: 0.9328 MB / 0.9883 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.9463, allocations: 172.3 kB / 0.9884 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.064e-05/0.9464, allocations: 16.06 kB / 0.9884 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004345/0.9469, allocations: 39.95 kB / 0.9885 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.947, allocations: 49.14 kB / 0.9885 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/0.947, allocations: 19.98 kB / 0.9885 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003975/0.9474, allocations: 338.8 kB / 0.9889 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9475, allocations: 4 kB / 0.9889 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005786/0.948, allocations: 155.8 kB / 0.989 GB, free: 8.125 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.0004795/0.9485, allocations: 195.1 kB / 0.9892 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.9498, allocations: 0.5853 MB / 0.9898 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.9498, allocations: 7.938 kB / 0.9898 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.9504, allocations: 266.5 kB / 0.99 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.9518, allocations: 287.5 kB / 0.9903 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.9536, allocations: 1.064 MB / 0.9914 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.954, allocations: 0.8703 MB / 0.9922 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.9542, allocations: 47.44 kB / 0.9923 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of SimCode: time 2.295e-06/0.9542, allocations: 0 / 0.9923 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of Templates: time 0.01325/0.9675, allocations: 9.027 MB / 1.001 GB, free: 11.93 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)