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.001378/0.001378, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 187.2 kB / 16.62 MB, free: 6.613 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.608/1.608, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.832/1.832, allocations: 292.3 MB / 0.5489 GB, free: 12.77 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.001459/0.001459, allocations: 78.88 kB / 0.6723 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2752, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7942/1.069, allocations: 181.8 MB / 0.9616 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006137/1.076, allocations: 4.438 MB / 0.966 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008675/1.077, allocations: 19.47 kB / 0.966 GB, free: 0.5117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007876/1.077, allocations: 254.1 kB / 0.9662 GB, free: 408 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002226/1.08, allocations: 0.7611 MB / 0.967 GB, free: 200 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004314/1.084, allocations: 1.521 MB / 0.9684 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003723/1.088, allocations: 1.26 MB / 0.9697 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/1.089, allocations: 453.5 kB / 0.9701 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/1.09, allocations: 0.5674 MB / 0.9707 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006062/1.091, allocations: 409.3 kB / 0.9711 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.356e-05/1.091, allocations: 46.06 kB / 0.9711 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004171/1.095, allocations: 1.549 MB / 0.9726 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002616/1.096, allocations: 189.1 kB / 0.9728 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004531/1.096, allocations: 306.6 kB / 0.9731 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003028/1.099, allocations: 1.312 MB / 0.9744 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/1.099, allocations: 1.375 kB / 0.9744 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.256e-06/1.099, allocations: 0 / 0.9744 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.247e-05/1.099, allocations: 0 / 0.9744 GB, free: 15.2 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.00247/1.102, allocations: 1.027 MB / 0.9754 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/1.102, allocations: 8.906 kB / 0.9754 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/1.104, allocations: 285.1 kB / 0.9757 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009465/1.105, allocations: 467.1 kB / 0.9761 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.083e-05/1.105, allocations: 28.94 kB / 0.9761 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-05/1.105, allocations: 43.88 kB / 0.9762 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/1.106, allocations: 0.5473 MB / 0.9767 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.106, allocations: 9.422 kB / 0.9767 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/1.106, allocations: 19.38 kB / 0.9767 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/1.106, allocations: 18.09 kB / 0.9767 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/1.107, allocations: 453.8 kB / 0.9772 GB, free: 14.05 MB / 0.7325 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.003032/1.111, allocations: 2.116 MB / 0.9792 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009528/1.111, allocations: 412.6 kB / 0.9796 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/1.112, allocations: 224.3 kB / 0.9799 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008393/1.113, allocations: 406.5 kB / 0.9802 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006776/1.114, allocations: 294 kB / 0.9805 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 2.094e-06/1.114, allocations: 2.5 kB / 0.9805 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.001904/1.115, allocations: 0.6762 MB / 0.9812 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/1.116, allocations: 65.83 kB / 0.9812 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006655/1.116, allocations: 499.1 kB / 0.9817 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/1.116, allocations: 32.42 kB / 0.9818 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002704/1.117, allocations: 268.1 kB / 0.982 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/1.117, allocations: 121.4 kB / 0.9821 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/1.117, allocations: 96.7 kB / 0.9822 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000254/1.117, allocations: 359.7 kB / 0.9826 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/1.118, allocations: 201.5 kB / 0.9828 GB, free: 10 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/1.118, allocations: 314.1 kB / 0.9831 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/1.119, allocations: 0.5453 MB / 0.9836 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/1.119, allocations: 0 / 0.9836 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001282/1.121, allocations: 0.6491 MB / 0.9842 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.491e-05/1.121, allocations: 63.09 kB / 0.9843 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/1.121, allocations: 2.438 kB / 0.9843 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.121, allocations: 5.531 kB / 0.9843 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/1.121, allocations: 102.2 kB / 0.9844 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/1.121, allocations: 9.828 kB / 0.9844 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006021/1.122, allocations: 76.77 kB / 0.9845 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/1.122, allocations: 21.72 kB / 0.9845 GB, free: 8.883 MB / 0.7325 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.0002946/1.122, allocations: 202.2 kB / 0.9847 GB, free: 8.715 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.695e-05/1.122, allocations: 56.09 kB / 0.9847 GB, free: 8.684 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/1.124, allocations: 0.5334 MB / 0.9853 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/1.124, allocations: 2.812 kB / 0.9853 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.124, allocations: 0 / 0.9853 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/1.124, allocations: 0 / 0.9853 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/1.126, allocations: 1.345 MB / 0.9866 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.126, allocations: 7.906 kB / 0.9866 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/1.126, allocations: 92.25 kB / 0.9867 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/1.127, allocations: 4.406 kB / 0.9867 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/1.127, allocations: 9.312 kB / 0.9867 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/1.127, allocations: 4.781 kB / 0.9867 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.127, allocations: 5.625 kB / 0.9867 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/1.128, allocations: 0.932 MB / 0.9876 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/1.129, allocations: 182 kB / 0.9878 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.682e-05/1.129, allocations: 19.73 kB / 0.9878 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/1.129, allocations: 29.25 kB / 0.9878 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/1.129, allocations: 52.69 kB / 0.9879 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/1.129, allocations: 12.25 kB / 0.9879 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004346/1.13, allocations: 347.6 kB / 0.9882 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.13, allocations: 0 / 0.9882 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006711/1.13, allocations: 152.8 kB / 0.9884 GB, free: 6.309 MB / 0.7325 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.0006372/1.131, allocations: 209.5 kB / 0.9886 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001316/1.132, allocations: 0.5755 MB / 0.9891 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.132, allocations: 0 / 0.9891 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006873/1.133, allocations: 292.5 kB / 0.9894 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/1.135, allocations: 286.1 kB / 0.9897 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/1.137, allocations: 1.038 MB / 0.9907 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/1.137, allocations: 0.8647 MB / 0.9915 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004996/1.138, allocations: 131 kB / 0.9917 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/1.138, allocations: 43.31 kB / 0.9917 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of SimCode: time 1.703e-06/1.138, allocations: 0 / 0.9917 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of Templates: time 0.02085/1.159, allocations: 10.77 MB / 1.002 GB, free: 14.69 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)