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.001131/0.001131, allocations: 104.4 kB / 15.98 MB, free: 6.355 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.001365/0.001366, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.48/1.48, allocations: 205.1 MB / 222.8 MB, free: 4.734 MB / 174.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.669/1.669, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001552/0.001552, allocations: 71.25 kB / 0.6716 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.222, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6205/0.8425, allocations: 179.4 MB / 0.9587 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006091/0.8487, allocations: 4.42 MB / 0.963 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008279/0.8496, allocations: 19.44 kB / 0.963 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008045/0.8504, allocations: 204.5 kB / 0.9632 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002372/0.8528, allocations: 0.7108 MB / 0.9639 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004216/0.857, allocations: 1.408 MB / 0.9653 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002029/0.8591, allocations: 1.273 MB / 0.9665 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006753/0.8598, allocations: 420.6 kB / 0.9669 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.861, allocations: 0.585 MB / 0.9675 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005678/0.8616, allocations: 429.4 kB / 0.9679 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.456e-05/0.8616, allocations: 45.56 kB / 0.968 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003307/0.865, allocations: 1.597 MB / 0.9695 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.8653, allocations: 194.3 kB / 0.9697 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004601/0.8657, allocations: 302.9 kB / 0.97 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.8675, allocations: 0.9211 MB / 0.9709 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.8675, allocations: 0 / 0.9709 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8675, allocations: 2.969 kB / 0.9709 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.8675, allocations: 0 / 0.9709 GB, free: 5.418 MB / 0.7325 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.002076/0.8696, allocations: 1.023 MB / 0.9719 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.8697, allocations: 13.47 kB / 0.9719 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/0.8718, allocations: 287.7 kB / 0.9722 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007594/0.8726, allocations: 436.2 kB / 0.9726 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.8726, allocations: 33.16 kB / 0.9726 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/0.8727, allocations: 46.22 kB / 0.9727 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.8737, allocations: 0.5468 MB / 0.9732 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.8738, allocations: 2.438 kB / 0.9732 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.8738, allocations: 16.06 kB / 0.9732 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.8738, allocations: 14.53 kB / 0.9732 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009693/0.8748, allocations: 462.4 kB / 0.9737 GB, free: 20.31 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.002572/0.8774, allocations: 2.119 MB / 0.9758 GB, free: 19.04 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009159/0.8783, allocations: 404.5 kB / 0.9761 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004592/0.8788, allocations: 230.4 kB / 0.9764 GB, free: 19 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007135/0.8795, allocations: 403.3 kB / 0.9767 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000642/0.8802, allocations: 304 kB / 0.977 GB, free: 18.56 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 3.016e-06/0.8802, allocations: 0 / 0.977 GB, free: 18.56 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.001819/0.882, allocations: 0.6827 MB / 0.9777 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.8821, allocations: 57.06 kB / 0.9778 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005707/0.8827, allocations: 497 kB / 0.9782 GB, free: 18.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/0.8827, allocations: 39.61 kB / 0.9783 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.8829, allocations: 259.5 kB / 0.9785 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.061e-05/0.883, allocations: 119 kB / 0.9786 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.8832, allocations: 95.05 kB / 0.9787 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.8833, allocations: 366.2 kB / 0.9791 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004319/0.8838, allocations: 193.9 kB / 0.9793 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/0.8843, allocations: 316.5 kB / 0.9796 GB, free: 17.62 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009088/0.8852, allocations: 0.5404 MB / 0.9801 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.8852, allocations: 7.25 kB / 0.9801 GB, free: 17.44 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001225/0.8864, allocations: 0.6545 MB / 0.9807 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.8865, allocations: 62.78 kB / 0.9808 GB, free: 17.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.8865, allocations: 2.75 kB / 0.9808 GB, free: 17.24 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.8865, allocations: 5.5 kB / 0.9808 GB, free: 17.24 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.887, allocations: 94.62 kB / 0.9809 GB, free: 17.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.887, allocations: 11.12 kB / 0.9809 GB, free: 17.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/0.8876, allocations: 85.61 kB / 0.981 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.808e-05/0.8877, allocations: 18.5 kB / 0.981 GB, free: 17.21 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.0002472/0.8879, allocations: 201.4 kB / 0.9812 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.808e-05/0.888, allocations: 56.91 kB / 0.9812 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.8892, allocations: 0.5424 MB / 0.9818 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.8892, allocations: 3.625 kB / 0.9818 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.8892, allocations: 1.438 kB / 0.9818 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.8892, allocations: 2.812 kB / 0.9818 GB, free: 16.99 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.8914, allocations: 1.349 MB / 0.9831 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.8914, allocations: 4.25 kB / 0.9831 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/0.8918, allocations: 84.44 kB / 0.9832 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.8918, allocations: 7.656 kB / 0.9832 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.8919, allocations: 8.594 kB / 0.9832 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.8919, allocations: 11.23 kB / 0.9832 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.8919, allocations: 7.656 kB / 0.9832 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.8935, allocations: 0.9255 MB / 0.9841 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.8937, allocations: 179.3 kB / 0.9843 GB, free: 16.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.547e-05/0.8938, allocations: 15.03 kB / 0.9843 GB, free: 16.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004576/0.8943, allocations: 43.14 kB / 0.9843 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.8944, allocations: 58.86 kB / 0.9844 GB, free: 16.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.8945, allocations: 16.25 kB / 0.9844 GB, free: 16.11 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003692/0.8948, allocations: 341.8 kB / 0.9847 GB, free: 16.03 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8948, allocations: 0 / 0.9847 GB, free: 16.03 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006074/0.8955, allocations: 151.4 kB / 0.9849 GB, free: 16.02 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.0004318/0.8959, allocations: 202.3 kB / 0.9851 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.897, allocations: 0.5931 MB / 0.9857 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.897, allocations: 0.75 kB / 0.9857 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005424/0.8976, allocations: 265.3 kB / 0.9859 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.8989, allocations: 286.4 kB / 0.9862 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.9007, allocations: 1.243 MB / 0.9874 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.9011, allocations: 0.8662 MB / 0.9882 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.9014, allocations: 52.61 kB / 0.9883 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of SimCode: time 1.333e-06/0.9014, allocations: 0 / 0.9883 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of Templates: time 0.01303/0.9144, allocations: 9.024 MB / 0.9971 GB, free: 12.63 MB / 0.7481 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)