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.00111/0.00111, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001263/0.001263, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.5722/0.5722, allocations: 95.58 MB / 366 MB, free: 10.38 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.0005964/0.0005965, allocations: 23.91 kB / 446.8 MB, free: 9.387 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2598, allocations: 70.34 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4477/0.7075, allocations: 155.4 MB / 0.6568 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005285/0.7129, allocations: 3.849 MB / 0.6605 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000761/0.7137, allocations: 19.31 kB / 0.6606 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009982/0.7147, allocations: 255.2 kB / 0.6608 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.7158, allocations: 404.8 kB / 0.6612 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00387/0.7196, allocations: 1.265 MB / 0.6624 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.7209, allocations: 0.9073 MB / 0.6633 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005449/0.7214, allocations: 426.7 kB / 0.6637 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009749/0.7224, allocations: 0.5749 MB / 0.6643 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.7228, allocations: 373.2 kB / 0.6646 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.016e-05/0.7229, allocations: 39.89 kB / 0.6647 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.7252, allocations: 1.078 MB / 0.6657 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.7254, allocations: 231.8 kB / 0.6659 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.7256, allocations: 173.9 kB / 0.6661 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.727, allocations: 1.174 MB / 0.6673 GB, free: 1.164 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.727, allocations: 0 / 0.6673 GB, free: 1.164 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.727, allocations: 0 / 0.6673 GB, free: 1.164 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.727, allocations: 0 / 0.6673 GB, free: 1.164 MB / 494.1 MB 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.002056/0.7291, allocations: 1.083 MB / 0.6683 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.7291, allocations: 11.67 kB / 0.6683 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003777/0.7295, allocations: 94.62 kB / 0.6684 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008282/0.7303, allocations: 470 kB / 0.6689 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.7304, allocations: 49.14 kB / 0.6689 GB, free: 16.17 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.313e-05/0.7305, allocations: 57.03 kB / 0.669 GB, free: 16.17 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.7317, allocations: 0.8013 MB / 0.6697 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.7318, allocations: 2.906 kB / 0.6697 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.151e-05/0.7318, allocations: 30.45 kB / 0.6698 GB, free: 16.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.7319, allocations: 13.91 kB / 0.6698 GB, free: 16.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.7331, allocations: 0.7774 MB / 0.6705 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003817/0.737, allocations: 3.452 MB / 0.6739 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.7376, allocations: 329.2 kB / 0.6742 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008044/0.7384, allocations: 0.8148 MB / 0.675 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007111/0.7391, allocations: 0.5092 MB / 0.6755 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 3.065e-06/0.7392, allocations: 4 kB / 0.6755 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001551/0.7407, allocations: 0.7602 MB / 0.6763 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003099/0.741, allocations: 0.7771 MB / 0.677 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006283/0.7417, allocations: 0.655 MB / 0.6777 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.867e-05/0.7417, allocations: 38.36 kB / 0.6777 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.742, allocations: 329.6 kB / 0.678 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.965e-05/0.7421, allocations: 137.8 kB / 0.6782 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.7421, allocations: 11.44 kB / 0.6782 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.7422, allocations: 382.2 kB / 0.6785 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/0.7427, allocations: 239.2 kB / 0.6788 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.7434, allocations: 0.4909 MB / 0.6792 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005327/0.7439, allocations: 325 kB / 0.6795 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.7439, allocations: 0 / 0.6795 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00132/0.7453, allocations: 0.7852 MB / 0.6803 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/0.7453, allocations: 44.17 kB / 0.6804 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.7453, allocations: 5.844 kB / 0.6804 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.7453, allocations: 12.09 kB / 0.6804 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.7459, allocations: 143.6 kB / 0.6805 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.7459, allocations: 11.88 kB / 0.6805 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007649/0.7467, allocations: 126.8 kB / 0.6806 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.37e-05/0.7468, allocations: 36.16 kB / 0.6807 GB, free: 10.34 MB / 0.4981 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 ($whenCondition1,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002839/0.7471, allocations: 227.4 kB / 0.6809 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.7472, allocations: 77.27 kB / 0.681 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.7485, allocations: 0.6889 MB / 0.6816 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.7485, allocations: 7.719 kB / 0.6816 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.7485, allocations: 3.094 kB / 0.6816 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.7486, allocations: 7.016 kB / 0.6817 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.7499, allocations: 1.369 MB / 0.683 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.7499, allocations: 2.875 kB / 0.683 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/0.7503, allocations: 87.39 kB / 0.6831 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-06/0.7503, allocations: 5.312 kB / 0.6831 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.172e-05/0.7504, allocations: 16.02 kB / 0.6831 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.7504, allocations: 5.906 kB / 0.6831 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.7504, allocations: 5.125 kB / 0.6831 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.752, allocations: 1.068 MB / 0.6842 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003978/0.7524, allocations: 264 kB / 0.6844 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.7525, allocations: 16.03 kB / 0.6844 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005705/0.7531, allocations: 51.95 kB / 0.6845 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.991e-05/0.7532, allocations: 49.45 kB / 0.6845 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.7533, allocations: 22.06 kB / 0.6845 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006156/0.7539, allocations: 0.5981 MB / 0.6851 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7539, allocations: 2.781 kB / 0.6851 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001141/0.755, allocations: 447.2 kB / 0.6855 GB, free: 7.93 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009503/0.756, allocations: 0.4966 MB / 0.686 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.7572, allocations: 0.6271 MB / 0.6866 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7572, allocations: 0 / 0.6866 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005489/0.7578, allocations: 294.4 kB / 0.6869 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.7594, allocations: 375.2 kB / 0.6873 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.7618, allocations: 1.539 MB / 0.6888 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005137/0.7623, allocations: 0.9556 MB / 0.6897 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006614/0.763, allocations: 165.5 kB / 0.6899 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.7632, allocations: 64.52 kB / 0.6899 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of SimCode: time 7.42e-07/0.7632, allocations: 2.938 kB / 0.6899 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of Templates: time 0.03227/0.7954, allocations: 20.1 MB / 0.7096 GB, free: 6.234 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: