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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001111/0.001111, allocations: 195.3 kB / 16.14 MB, free: 6.668 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.36/1.36, allocations: 205.1 MB / 222 MB, free: 4.738 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.65/1.65, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001438/0.001438, allocations: 66.66 kB / 0.6709 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2414, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.67/0.9115, allocations: 179.5 MB / 0.9581 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006157/0.9177, allocations: 4.473 MB / 0.9625 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007668/0.9185, allocations: 23.91 kB / 0.9625 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007034/0.9193, allocations: 184.2 kB / 0.9627 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.9212, allocations: 0.7229 MB / 0.9634 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003905/0.9252, allocations: 1.4 MB / 0.9648 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001874/0.927, allocations: 1.695 MB / 0.9664 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005274/0.9276, allocations: 378.7 kB / 0.9668 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.9286, allocations: 0.5273 MB / 0.9673 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004645/0.9291, allocations: 420.5 kB / 0.9677 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.732e-05/0.9292, allocations: 29.38 kB / 0.9677 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003261/0.9324, allocations: 1.808 MB / 0.9695 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.9327, allocations: 177.7 kB / 0.9697 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003604/0.9331, allocations: 288.3 kB / 0.9699 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.9354, allocations: 1.385 MB / 0.9713 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9354, allocations: 0 / 0.9713 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.002e-06/0.9354, allocations: 1.375 kB / 0.9713 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.9354, allocations: 0 / 0.9713 GB, free: 5.051 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.001919/0.9374, allocations: 1.031 MB / 0.9723 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.9374, allocations: 8.844 kB / 0.9723 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.32e-05/0.9375, allocations: 82.3 kB / 0.9724 GB, free: 20.33 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.9396, allocations: 287.5 kB / 0.9727 GB, free: 20.29 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007165/0.9403, allocations: 439.4 kB / 0.9731 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.9403, allocations: 33.53 kB / 0.9731 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.9404, allocations: 43.03 kB / 0.9731 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009803/0.9414, allocations: 0.547 MB / 0.9737 GB, free: 19.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.9414, allocations: 6.625 kB / 0.9737 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.9415, allocations: 14.78 kB / 0.9737 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.9415, allocations: 15.12 kB / 0.9737 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.9425, allocations: 457.4 kB / 0.9742 GB, free: 19.89 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.002415/0.945, allocations: 2.119 MB / 0.9762 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009587/0.9459, allocations: 409.9 kB / 0.9766 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000472/0.9464, allocations: 230.3 kB / 0.9768 GB, free: 18.58 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007007/0.9471, allocations: 399.9 kB / 0.9772 GB, free: 18.2 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006049/0.9477, allocations: 299.1 kB / 0.9775 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 2.375e-06/0.9478, allocations: 0 / 0.9775 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.001812/0.9496, allocations: 0.6847 MB / 0.9782 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.9496, allocations: 60.19 kB / 0.9782 GB, free: 18.01 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/0.9502, allocations: 499 kB / 0.9787 GB, free: 17.89 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.9502, allocations: 33.08 kB / 0.9787 GB, free: 17.86 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.9504, allocations: 262.1 kB / 0.979 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.137e-05/0.9505, allocations: 122.4 kB / 0.9791 GB, free: 17.65 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.9507, allocations: 93.95 kB / 0.9792 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.9508, allocations: 359.7 kB / 0.9795 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/0.9513, allocations: 205 kB / 0.9797 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006422/0.9519, allocations: 313 kB / 0.98 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.9531, allocations: 0.5423 MB / 0.9806 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.9531, allocations: 2.938 kB / 0.9806 GB, free: 17.03 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001477/0.9546, allocations: 0.653 MB / 0.9812 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.589e-05/0.9547, allocations: 63.17 kB / 0.9813 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.9547, allocations: 2.312 kB / 0.9813 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.9547, allocations: 5.469 kB / 0.9813 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005238/0.9553, allocations: 94.8 kB / 0.9814 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.9553, allocations: 12.16 kB / 0.9814 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007131/0.956, allocations: 84.53 kB / 0.9814 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.018e-05/0.9561, allocations: 19.25 kB / 0.9815 GB, free: 16.79 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.0002916/0.9564, allocations: 204.9 kB / 0.9817 GB, free: 16.67 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.638e-05/0.9565, allocations: 53.16 kB / 0.9817 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.9577, allocations: 0.5365 MB / 0.9822 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.9578, allocations: 3.438 kB / 0.9822 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.9578, allocations: 1.531 kB / 0.9822 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.9578, allocations: 6.859 kB / 0.9822 GB, free: 16.58 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.96, allocations: 1.349 MB / 0.9836 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.96, allocations: 6.75 kB / 0.9836 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.9605, allocations: 74.12 kB / 0.9836 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.9605, allocations: 8.828 kB / 0.9837 GB, free: 16.13 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.9605, allocations: 12.48 kB / 0.9837 GB, free: 16.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.9605, allocations: 9.719 kB / 0.9837 GB, free: 16.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.9605, allocations: 5.188 kB / 0.9837 GB, free: 16.13 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.9621, allocations: 0.9365 MB / 0.9846 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.9623, allocations: 173.5 kB / 0.9848 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.832e-05/0.9624, allocations: 11.52 kB / 0.9848 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/0.9629, allocations: 51.03 kB / 0.9848 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.963, allocations: 52.08 kB / 0.9849 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.963, allocations: 16.56 kB / 0.9849 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003728/0.9634, allocations: 346 kB / 0.9852 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9634, allocations: 3.938 kB / 0.9852 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006356/0.9641, allocations: 151.4 kB / 0.9854 GB, free: 15.6 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.002156/0.9662, allocations: 1.56 MB / 0.9869 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001175/0.9674, allocations: 0.5711 MB / 0.9874 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.9674, allocations: 1.938 kB / 0.9874 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.9681, allocations: 294.5 kB / 0.9877 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.9695, allocations: 283.6 kB / 0.988 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007136/0.9766, allocations: 5.238 MB / 0.9931 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.9771, allocations: 0.8711 MB / 0.994 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006329/0.9777, allocations: 124 kB / 0.9941 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.9781, allocations: 178.4 kB / 0.9942 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/0.9781, allocations: 0 / 0.9942 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03315/1.011, allocations: 15.03 MB / 1.009 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/1.011, allocations: 237.4 kB / 1.009 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/3.154, allocations: 2.125 kB / 1.009 GB, free: 5.441 MB / 0.7481 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)