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.001018/0.001018, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00541/0.00541, allocations: 170 kB / 16.26 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.312/1.312, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.685/1.685, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005225/0.0005226, allocations: 18.3 kB / 0.6744 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2062, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5674/0.7737, allocations: 177.2 MB / 0.961 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005077/0.7788, allocations: 4.419 MB / 0.9653 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004355/0.7793, allocations: 18.19 kB / 0.9654 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.7798, allocations: 189.8 kB / 0.9655 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.7815, allocations: 0.7203 MB / 0.9662 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003153/0.7846, allocations: 1.404 MB / 0.9676 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001767/0.7864, allocations: 1.683 MB / 0.9693 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007081/0.7871, allocations: 377.6 kB / 0.9696 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.7883, allocations: 0.5175 MB / 0.9701 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.7889, allocations: 405.7 kB / 0.9705 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.083e-05/0.789, allocations: 30.22 kB / 0.9705 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003064/0.7921, allocations: 1.806 MB / 0.9723 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.7923, allocations: 178.3 kB / 0.9725 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.7926, allocations: 305.2 kB / 0.9728 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.7946, allocations: 1.378 MB / 0.9741 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.7946, allocations: 0 / 0.9741 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.945e-06/0.7946, allocations: 0 / 0.9741 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.7947, allocations: 5.312 kB / 0.9741 GB, free: 14.15 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.001594/0.7963, allocations: 0.925 MB / 0.975 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.7963, allocations: 10.38 kB / 0.975 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.182e-05/0.7964, allocations: 81.98 kB / 0.9751 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/0.7984, allocations: 287.8 kB / 0.9754 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000687/0.7991, allocations: 450 kB / 0.9758 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.7991, allocations: 28.78 kB / 0.9758 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/0.7992, allocations: 43.84 kB / 0.9759 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.8002, allocations: 0.56 MB / 0.9764 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.8003, allocations: 4 kB / 0.9764 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.8003, allocations: 23.06 kB / 0.9765 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.8003, allocations: 9.812 kB / 0.9765 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.8014, allocations: 490.5 kB / 0.9769 GB, free: 12.59 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.002364/0.8038, allocations: 2.131 MB / 0.979 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009488/0.8047, allocations: 438.9 kB / 0.9794 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.8052, allocations: 242.5 kB / 0.9797 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006625/0.8059, allocations: 413.4 kB / 0.9801 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006083/0.8065, allocations: 313.8 kB / 0.9804 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 2.054e-06/0.8065, allocations: 0 / 0.9804 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.001774/0.8083, allocations: 0.7278 MB / 0.9811 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.8084, allocations: 62.52 kB / 0.9811 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/0.8089, allocations: 0.4885 MB / 0.9816 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.8089, allocations: 41.86 kB / 0.9816 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.8091, allocations: 256.2 kB / 0.9819 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.8092, allocations: 129.5 kB / 0.982 GB, free: 9.605 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.8093, allocations: 47.48 kB / 0.9821 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.8094, allocations: 362.2 kB / 0.9824 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/0.8099, allocations: 213.8 kB / 0.9826 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.8105, allocations: 328.6 kB / 0.9829 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.8115, allocations: 0.582 MB / 0.9835 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.8116, allocations: 5.75 kB / 0.9835 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001297/0.8129, allocations: 0.6791 MB / 0.9842 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/0.8129, allocations: 63.38 kB / 0.9842 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.8129, allocations: 7.438 kB / 0.9842 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.813, allocations: 4.562 kB / 0.9842 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.8134, allocations: 106.7 kB / 0.9843 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.8135, allocations: 9.766 kB / 0.9843 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/0.814, allocations: 90.3 kB / 0.9844 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.8141, allocations: 17.47 kB / 0.9844 GB, free: 8.406 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.0002333/0.8143, allocations: 201.8 kB / 0.9846 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.94e-05/0.8144, allocations: 56.14 kB / 0.9847 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.8156, allocations: 0.5717 MB / 0.9852 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.8156, allocations: 11.5 kB / 0.9853 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8157, allocations: 0 / 0.9853 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8157, allocations: 0 / 0.9853 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.8178, allocations: 1.391 MB / 0.9866 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.8178, allocations: 2.562 kB / 0.9866 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.8182, allocations: 81.23 kB / 0.9867 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.8182, allocations: 5.094 kB / 0.9867 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.8183, allocations: 12.22 kB / 0.9867 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.8183, allocations: 13.48 kB / 0.9867 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.8183, allocations: 2.938 kB / 0.9867 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.82, allocations: 0.9852 MB / 0.9877 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.8202, allocations: 175.1 kB / 0.9879 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.999e-05/0.8203, allocations: 8.656 kB / 0.9879 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/0.8208, allocations: 52.89 kB / 0.9879 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.8209, allocations: 54 kB / 0.988 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.8209, allocations: 17.12 kB / 0.988 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003659/0.8213, allocations: 344.2 kB / 0.9883 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8213, allocations: 0 / 0.9883 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005573/0.8219, allocations: 159 kB / 0.9885 GB, free: 6.238 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.002242/0.8241, allocations: 1.609 MB / 0.99 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.8253, allocations: 0.604 MB / 0.9906 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8253, allocations: 7.094 kB / 0.9906 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000648/0.826, allocations: 300.1 kB / 0.9909 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.8276, allocations: 290.4 kB / 0.9912 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007133/0.8347, allocations: 5.371 MB / 0.9964 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.8352, allocations: 0.8693 MB / 0.9973 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000519/0.8357, allocations: 132.6 kB / 0.9974 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.836, allocations: 177 kB / 0.9976 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of SimCode: time 1.293e-06/0.836, allocations: 0 / 0.9976 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.8627, allocations: 14.86 MB / 1.012 GB, free: 8.598 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.8629, allocations: 236.8 kB / 1.012 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.254/3.117, allocations: 3.344 kB / 1.012 GB, free: 8.344 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)