Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.345/2.345, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001554, allocations: 188.4 kB / 325.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.432/2.432, allocations: 205.4 MB / 0.5764 GB, free: 21.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 91.66 kB / 0.6809 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004929, allocations: 15.55 kB / 0.795 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.227, allocations: 106.3 MB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.756/6.983, allocations: 2.181 GB / 3.08 GB, free: 6.406 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/6.983, allocations: 95.14 kB / 3.08 GB, free: 6.355 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.656/9.639, allocations: 412.9 MB / 3.483 GB, free: 224 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.855e-06/9.639, allocations: 2.844 kB / 3.483 GB, free: 224 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.782e-05/9.639, allocations: 18.75 kB / 3.483 GB, free: 224 MB / 0.8855 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.003772/9.642, allocations: 1.07 MB / 3.484 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/9.642, allocations: 11.81 kB / 3.484 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002179/9.643, allocations: 80.5 kB / 3.484 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003176/9.646, allocations: 275.2 kB / 3.485 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/9.648, allocations: 474.2 kB / 3.485 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.892e-05/9.648, allocations: 32.91 kB / 3.485 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/9.648, allocations: 47.66 kB / 3.485 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/9.649, allocations: 0.5492 MB / 3.486 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/9.649, allocations: 2.344 kB / 3.486 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.961e-05/9.649, allocations: 18.31 kB / 3.486 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/9.649, allocations: 11.25 kB / 3.486 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/9.651, allocations: 469.6 kB / 3.486 GB, free: 223.1 MB / 0.8855 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.004033/9.655, allocations: 2.134 MB / 3.488 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/9.657, allocations: 434.1 kB / 3.489 GB, free: 221.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008662/9.658, allocations: 392 kB / 3.489 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009982/9.659, allocations: 299.6 kB / 3.489 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 4.057e-06/9.659, allocations: 0 / 3.489 GB, free: 221.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.003015/9.662, allocations: 0.717 MB / 3.49 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/9.662, allocations: 55.09 kB / 3.49 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/9.663, allocations: 428.7 kB / 3.491 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/9.663, allocations: 45.02 kB / 3.491 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/9.663, allocations: 261.3 kB / 3.491 GB, free: 221 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/9.663, allocations: 121.4 kB / 3.491 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/9.663, allocations: 10.88 kB / 3.491 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001178/9.664, allocations: 367 kB / 3.491 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008171/9.664, allocations: 205.5 kB / 3.492 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00093/9.665, allocations: 336.1 kB / 3.492 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008938/9.666, allocations: 293.2 kB / 3.492 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/9.666, allocations: 0 / 3.492 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002222/9.668, allocations: 0.6692 MB / 3.493 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.78e-05/9.669, allocations: 62.23 kB / 3.493 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/9.669, allocations: 3.781 kB / 3.493 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/9.669, allocations: 6.969 kB / 3.493 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008637/9.67, allocations: 106.5 kB / 3.493 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/9.67, allocations: 13.27 kB / 3.493 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/9.671, allocations: 98.25 kB / 3.493 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.587e-05/9.671, allocations: 20.38 kB / 3.493 GB, free: 220.2 MB / 0.8855 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 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004091/9.671, allocations: 197.8 kB / 3.493 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/9.671, allocations: 58.53 kB / 3.493 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/9.673, allocations: 0.5546 MB / 3.494 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/9.673, allocations: 5.688 kB / 3.494 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/9.673, allocations: 0 / 3.494 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/9.674, allocations: 3.953 kB / 3.494 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003633/9.677, allocations: 1.346 MB / 3.495 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/9.677, allocations: 7.391 kB / 3.495 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007611/9.678, allocations: 82.59 kB / 3.495 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/9.678, allocations: 6.656 kB / 3.495 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/9.678, allocations: 14.62 kB / 3.495 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/9.678, allocations: 4.875 kB / 3.495 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/9.678, allocations: 7.531 kB / 3.495 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/9.681, allocations: 1.121 MB / 3.496 GB, free: 219.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/9.682, allocations: 175 kB / 3.497 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/9.682, allocations: 14.72 kB / 3.497 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008899/9.683, allocations: 61.08 kB / 3.497 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/9.683, allocations: 51.7 kB / 3.497 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/9.683, allocations: 15.06 kB / 3.497 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006307/9.683, allocations: 340 kB / 3.497 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.71e-07/9.683, allocations: 0 / 3.497 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001511/9.685, allocations: 286 kB / 3.497 GB, free: 218.9 MB / 0.8855 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 (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.005905/9.691, allocations: 3.999 MB / 3.501 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002051/9.693, allocations: 0.6034 MB / 3.502 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/9.693, allocations: 3.938 kB / 3.502 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/9.694, allocations: 299.5 kB / 3.502 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/9.697, allocations: 266.7 kB / 3.502 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008793/9.705, allocations: 5.146 MB / 3.507 GB, free: 213.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/9.706, allocations: 0.88 MB / 3.508 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001001/9.707, allocations: 125.6 kB / 3.508 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/9.707, allocations: 181.2 kB / 3.508 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.493e-06/9.707, allocations: 0 / 3.508 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08928/9.797, allocations: 37.12 MB / 3.545 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/9.797, allocations: 220.2 kB / 3.545 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.169/13.97, allocations: 0 / 3.545 GB, free: 211.6 MB / 0.8855 GB