Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.008606/0.008605, allocations: 98.38 kB / 15.73 MB, free: 6.012 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.00174/0.00174, allocations: 193.6 kB / 16.67 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.519/1.519, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6258/0.6258, allocations: 95.48 MB / 365.4 MB, free: 9.781 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 79.88 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1748, allocations: 69.08 MB / 0.5711 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7102/0.885, allocations: 195.7 MB / 0.7622 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007102/0.8922, allocations: 3.662 MB / 0.7658 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.8935, allocations: 15.88 kB / 0.7658 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.8951, allocations: 337.8 kB / 0.7661 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.8969, allocations: 0.497 MB / 0.7666 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006687/0.9036, allocations: 2.048 MB / 0.7686 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002377/0.906, allocations: 1.618 MB / 0.7702 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008071/0.9068, allocations: 0.5319 MB / 0.7707 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.9081, allocations: 0.6734 MB / 0.7714 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007261/0.9088, allocations: 0.5379 MB / 0.7719 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.9089, allocations: 72 kB / 0.772 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00453/0.9135, allocations: 1.988 MB / 0.7739 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003617/0.9139, allocations: 295.2 kB / 0.7742 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005363/0.9144, allocations: 434.2 kB / 0.7746 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004155/0.9186, allocations: 2.098 MB / 0.7766 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.9186, allocations: 0 / 0.7766 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.572e-06/0.9186, allocations: 0 / 0.7766 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.9186, allocations: 0 / 0.7766 GB, free: 11.84 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002694/0.9213, allocations: 1.299 MB / 0.7779 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.9214, allocations: 15.98 kB / 0.7779 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003956/0.9218, allocations: 91.52 kB / 0.778 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007939/0.9226, allocations: 0.5006 MB / 0.7785 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.9226, allocations: 41.31 kB / 0.7785 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.625e-05/0.9227, allocations: 66.78 kB / 0.7786 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.9242, allocations: 0.7981 MB / 0.7794 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.9242, allocations: 0 / 0.7794 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.429e-05/0.9243, allocations: 28 kB / 0.7794 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.9243, allocations: 12 kB / 0.7794 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.9258, allocations: 0.7505 MB / 0.7802 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004303/0.9301, allocations: 3.456 MB / 0.7835 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007327/0.9308, allocations: 308.9 kB / 0.7838 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/0.9313, allocations: 205.4 kB / 0.784 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009945/0.9323, allocations: 0.8026 MB / 0.7848 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008948/0.9332, allocations: 0.5078 MB / 0.7853 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=38): time 2.966e-06/0.9333, allocations: 0 / 0.7853 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.001875/0.9351, allocations: 0.7149 MB / 0.786 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000451/0.9356, allocations: 0.7803 MB / 0.7868 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008642/0.9365, allocations: 0.6602 MB / 0.7874 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-05/0.9365, allocations: 33.7 kB / 0.7874 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.9368, allocations: 344.3 kB / 0.7878 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.937, allocations: 142.8 kB / 0.7879 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.9372, allocations: 142.1 kB / 0.788 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.9374, allocations: 374.7 kB / 0.7884 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005268/0.938, allocations: 232.9 kB / 0.7886 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/0.9387, allocations: 488.8 kB / 0.7891 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.9399, allocations: 0.6324 MB / 0.7897 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.9399, allocations: 4 kB / 0.7897 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001665/0.9416, allocations: 0.7538 MB / 0.7904 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.101e-05/0.9416, allocations: 33.7 kB / 0.7905 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.9417, allocations: 4 kB / 0.7905 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.9417, allocations: 11.98 kB / 0.7905 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.9423, allocations: 135.8 kB / 0.7906 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.9423, allocations: 15.88 kB / 0.7906 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007472/0.9431, allocations: 111.6 kB / 0.7907 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.118e-05/0.9432, allocations: 27.98 kB / 0.7908 GB, free: 12.24 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 (m_flow.count,$PRE.m_flow.count,m_flow.T_start,$PRE.m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * 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.0003367/0.9435, allocations: 229.6 kB / 0.791 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.9437, allocations: 75.53 kB / 0.7911 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.9451, allocations: 0.6596 MB / 0.7917 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.9451, allocations: 8.875 kB / 0.7917 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.9451, allocations: 11.88 kB / 0.7917 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.9452, allocations: 7.984 kB / 0.7917 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.9467, allocations: 1.37 MB / 0.7931 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.9467, allocations: 4 kB / 0.7931 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003687/0.9471, allocations: 75.88 kB / 0.7931 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.9471, allocations: 8.312 kB / 0.7932 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.9472, allocations: 16 kB / 0.7932 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.9472, allocations: 4 kB / 0.7932 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.9472, allocations: 7.938 kB / 0.7932 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.949, allocations: 0.8831 MB / 0.794 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.9493, allocations: 212.5 kB / 0.7942 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.9495, allocations: 23.89 kB / 0.7943 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005567/0.95, allocations: 52.02 kB / 0.7943 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.9502, allocations: 39.89 kB / 0.7944 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.9502, allocations: 19.97 kB / 0.7944 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007151/0.9509, allocations: 0.6083 MB / 0.795 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.714e-06/0.9509, allocations: 0 / 0.795 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001539/0.9525, allocations: 458.7 kB / 0.7954 GB, free: 7.301 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (temDyn.T) * Number of discrete variables: 3 ($whenCondition1,m_flow.T_start,m_flow.count) * Number of discrete states: 1 (m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.001312/0.9538, allocations: 0.5169 MB / 0.7959 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.9553, allocations: 0.6009 MB / 0.7965 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/0.9554, allocations: 8.25 kB / 0.7965 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006898/0.9561, allocations: 272.8 kB / 0.7968 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.9579, allocations: 402.6 kB / 0.7972 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.9606, allocations: 1.342 MB / 0.7985 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008094/0.9614, allocations: 0.9339 MB / 0.7994 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000588/0.962, allocations: 165.8 kB / 0.7995 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.9622, allocations: 71.41 kB / 0.7996 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.9622, allocations: 0 / 0.7996 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of Templates: time 0.03766/0.9999, allocations: 21.8 MB / 0.8209 GB, free: 13.25 MB / 0.6387 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)