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.0008233/0.0008233, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.001274/0.001274, allocations: 181.8 kB / 16.28 MB, free: 6.656 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.68/1.68, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.746/1.746, allocations: 292.7 MB / 0.5502 GB, free: 14.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.0007122/0.0007122, allocations: 17.52 kB / 0.6743 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2899, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7955/1.086, allocations: 177.2 MB / 0.9609 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006351/1.092, allocations: 4.42 MB / 0.9652 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005907/1.093, allocations: 18.59 kB / 0.9653 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006922/1.093, allocations: 191.3 kB / 0.9654 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/1.095, allocations: 0.7186 MB / 0.9661 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004075/1.1, allocations: 1.403 MB / 0.9675 GB, free: 15 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002364/1.102, allocations: 1.689 MB / 0.9692 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006691/1.103, allocations: 372.3 kB / 0.9695 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/1.104, allocations: 0.5184 MB / 0.97 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006718/1.105, allocations: 414.1 kB / 0.9704 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.335e-05/1.105, allocations: 26.19 kB / 0.9704 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003997/1.109, allocations: 1.809 MB / 0.9722 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002761/1.109, allocations: 166 kB / 0.9724 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004335/1.11, allocations: 306.7 kB / 0.9727 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003075/1.113, allocations: 1.379 MB / 0.974 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.113, allocations: 1.344 kB / 0.974 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.435e-06/1.113, allocations: 0 / 0.974 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.206e-06/1.113, allocations: 0 / 0.974 GB, free: 14.13 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.00211/1.115, allocations: 0.9273 MB / 0.9749 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.115, allocations: 13.84 kB / 0.9749 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/1.117, allocations: 289.1 kB / 0.9752 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000793/1.118, allocations: 449.2 kB / 0.9756 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/1.118, allocations: 33.81 kB / 0.9757 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-05/1.118, allocations: 40.81 kB / 0.9757 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/1.119, allocations: 0.5699 MB / 0.9763 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/1.119, allocations: 1.281 kB / 0.9763 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/1.119, allocations: 14.44 kB / 0.9763 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/1.119, allocations: 13.91 kB / 0.9763 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/1.12, allocations: 487.1 kB / 0.9767 GB, free: 12.62 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.002891/1.123, allocations: 2.128 MB / 0.9788 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009719/1.124, allocations: 438.9 kB / 0.9792 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/1.125, allocations: 249.4 kB / 0.9795 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000707/1.125, allocations: 406.8 kB / 0.9799 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006338/1.126, allocations: 316.2 kB / 0.9802 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 2.715e-06/1.126, allocations: 0 / 0.9802 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.001743/1.128, allocations: 0.7329 MB / 0.9809 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/1.128, allocations: 59.58 kB / 0.9809 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005751/1.128, allocations: 496.6 kB / 0.9814 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/1.128, allocations: 36.33 kB / 0.9815 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/1.129, allocations: 261.8 kB / 0.9817 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/1.129, allocations: 122.8 kB / 0.9818 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/1.129, allocations: 36.67 kB / 0.9819 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.129, allocations: 371.2 kB / 0.9822 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/1.129, allocations: 217.7 kB / 0.9824 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/1.13, allocations: 331.2 kB / 0.9827 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/1.132, allocations: 0.5747 MB / 0.9833 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.132, allocations: 0 / 0.9833 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002086/1.134, allocations: 0.6913 MB / 0.984 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.442e-05/1.134, allocations: 71.55 kB / 0.984 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.134, allocations: 2.875 kB / 0.984 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/1.134, allocations: 5.094 kB / 0.984 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006961/1.135, allocations: 103.6 kB / 0.9841 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/1.135, allocations: 6.781 kB / 0.9841 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009471/1.136, allocations: 99.19 kB / 0.9842 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/1.136, allocations: 20.66 kB / 0.9843 GB, free: 8.43 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.0003562/1.136, allocations: 186.6 kB / 0.9844 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/1.136, allocations: 59 kB / 0.9845 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/1.138, allocations: 0.572 MB / 0.9851 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/1.138, allocations: 2.562 kB / 0.9851 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.138, allocations: 0 / 0.9851 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/1.138, allocations: 5.844 kB / 0.9851 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003774/1.142, allocations: 1.383 MB / 0.9864 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/1.142, allocations: 11.31 kB / 0.9864 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006066/1.143, allocations: 86.62 kB / 0.9865 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/1.143, allocations: 5.688 kB / 0.9865 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/1.143, allocations: 12.8 kB / 0.9865 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.33e-05/1.143, allocations: 10.09 kB / 0.9865 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.143, allocations: 2.875 kB / 0.9865 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/1.145, allocations: 0.9843 MB / 0.9875 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003746/1.146, allocations: 169.9 kB / 0.9877 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/1.146, allocations: 17.92 kB / 0.9877 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/1.147, allocations: 48.52 kB / 0.9877 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/1.147, allocations: 54.58 kB / 0.9878 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/1.147, allocations: 15.8 kB / 0.9878 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006363/1.148, allocations: 346.9 kB / 0.9881 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.034e-06/1.148, allocations: 0 / 0.9881 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001032/1.149, allocations: 148.3 kB / 0.9883 GB, free: 6.348 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.0007028/1.149, allocations: 202.7 kB / 0.9885 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001817/1.151, allocations: 0.6107 MB / 0.9891 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/1.151, allocations: 7.469 kB / 0.9891 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/1.152, allocations: 304.6 kB / 0.9893 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/1.155, allocations: 273.8 kB / 0.9896 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/1.158, allocations: 1.268 MB / 0.9908 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/1.158, allocations: 0.8682 MB / 0.9917 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007695/1.159, allocations: 129.7 kB / 0.9918 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/1.159, allocations: 40.09 kB / 0.9919 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of SimCode: time 1.894e-06/1.159, allocations: 0 / 0.9919 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of Templates: time 0.02681/1.186, allocations: 10.13 MB / 1.002 GB, free: 14.82 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: