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.00148/0.00148, 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.001786/0.001786, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.388/1.388, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.658/1.658, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.002427/0.002427, allocations: 72.69 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2049, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5991/0.804, allocations: 181.8 MB / 0.9611 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006285/0.8104, allocations: 4.447 MB / 0.9655 GB, free: 324 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007765/0.8112, allocations: 20.44 kB / 0.9655 GB, free: 316 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007855/0.812, allocations: 244.7 kB / 0.9657 GB, free: 208 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.8141, allocations: 0.7609 MB / 0.9665 GB, free: 0 / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0044/0.8186, allocations: 1.517 MB / 0.968 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001998/0.8206, allocations: 1.259 MB / 0.9692 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008549/0.8214, allocations: 453.2 kB / 0.9696 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.823, allocations: 0.5776 MB / 0.9702 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005864/0.8236, allocations: 408.1 kB / 0.9706 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.714e-05/0.8237, allocations: 45 kB / 0.9706 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003191/0.8269, allocations: 1.545 MB / 0.9721 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.8271, allocations: 185.9 kB / 0.9723 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.8275, allocations: 307.5 kB / 0.9726 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.8297, allocations: 1.311 MB / 0.9739 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8297, allocations: 2.391 kB / 0.9739 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8297, allocations: 4 kB / 0.9739 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.8298, allocations: 0 / 0.9739 GB, free: 15.01 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.001928/0.8317, allocations: 1.018 MB / 0.9749 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.8317, allocations: 8.969 kB / 0.9749 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.981e-05/0.8319, allocations: 79.78 kB / 0.975 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/0.8339, allocations: 286.9 kB / 0.9752 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008709/0.8348, allocations: 473.5 kB / 0.9757 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.8348, allocations: 33.31 kB / 0.9757 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-05/0.8349, allocations: 42.97 kB / 0.9758 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.8359, allocations: 0.5474 MB / 0.9763 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.836, allocations: 1.125 kB / 0.9763 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.836, allocations: 14.25 kB / 0.9763 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.836, allocations: 16.62 kB / 0.9763 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009773/0.837, allocations: 460.7 kB / 0.9768 GB, free: 13.83 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.002567/0.8396, allocations: 2.124 MB / 0.9788 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008942/0.8405, allocations: 401.6 kB / 0.9792 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004455/0.841, allocations: 233 kB / 0.9794 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006228/0.8416, allocations: 391.8 kB / 0.9798 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005699/0.8422, allocations: 293.5 kB / 0.9801 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 1.713e-06/0.8422, allocations: 0 / 0.9801 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.001668/0.8439, allocations: 0.6877 MB / 0.9808 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.8439, allocations: 56.91 kB / 0.9808 GB, free: 11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.8445, allocations: 497.3 kB / 0.9813 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.8445, allocations: 40.95 kB / 0.9813 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.8447, allocations: 262.9 kB / 0.9816 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.65e-05/0.8448, allocations: 120.9 kB / 0.9817 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.845, allocations: 94.91 kB / 0.9818 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.8451, allocations: 363.7 kB / 0.9821 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/0.8456, allocations: 194.9 kB / 0.9823 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.8461, allocations: 313.4 kB / 0.9826 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009563/0.8471, allocations: 0.5464 MB / 0.9832 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8471, allocations: 5.75 kB / 0.9832 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001265/0.8483, allocations: 0.6506 MB / 0.9838 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.456e-05/0.8484, allocations: 65.77 kB / 0.9839 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.8484, allocations: 8.875 kB / 0.9839 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.8485, allocations: 4.688 kB / 0.9839 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.8489, allocations: 94.44 kB / 0.984 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.8489, allocations: 6.406 kB / 0.984 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005355/0.8494, allocations: 83.89 kB / 0.9841 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.8495, allocations: 18.97 kB / 0.9841 GB, free: 8.707 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.0002237/0.8497, allocations: 199.2 kB / 0.9843 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.8498, allocations: 60.48 kB / 0.9843 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.8509, allocations: 0.5373 MB / 0.9848 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.8509, allocations: 6.672 kB / 0.9848 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8509, allocations: 0 / 0.9848 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.8509, allocations: 0 / 0.9848 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.853, allocations: 1.355 MB / 0.9862 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.853, allocations: 6.188 kB / 0.9862 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.8534, allocations: 72.98 kB / 0.9862 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.8534, allocations: 7.719 kB / 0.9863 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.8535, allocations: 9.094 kB / 0.9863 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.8535, allocations: 13.08 kB / 0.9863 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.8535, allocations: 9.188 kB / 0.9863 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.855, allocations: 0.931 MB / 0.9872 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.8552, allocations: 172.9 kB / 0.9874 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.152e-05/0.8553, allocations: 12.88 kB / 0.9874 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/0.8558, allocations: 46.19 kB / 0.9874 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.8559, allocations: 45.52 kB / 0.9875 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.856, allocations: 16.22 kB / 0.9875 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003874/0.8563, allocations: 350 kB / 0.9878 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8564, allocations: 4 kB / 0.9878 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000645/0.857, allocations: 145.9 kB / 0.988 GB, free: 6.125 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.002243/0.8593, allocations: 1.57 MB / 0.9895 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.8605, allocations: 0.5792 MB / 0.99 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.8605, allocations: 4.188 kB / 0.9901 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006318/0.8611, allocations: 285.3 kB / 0.9903 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.8625, allocations: 293.1 kB / 0.9906 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006856/0.8694, allocations: 4.988 MB / 0.9955 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.8698, allocations: 0.8728 MB / 0.9963 GB, free: 100 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004636/0.8703, allocations: 128.4 kB / 0.9965 GB, free: 40 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.8706, allocations: 182.3 kB / 0.9966 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/0.8706, allocations: 0 / 0.9966 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04856/0.9191, allocations: 15.71 MB / 1.012 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.55/9.469, allocations: 17.31 kB / 1.012 GB, free: 8.258 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)