Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.147/2.147, allocations: 248.5 MB / 261 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001514, allocations: 179.6 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.907/1.907, allocations: 205.1 MB / 0.571 GB, free: 11.84 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.001113/0.001113, allocations: 93.53 kB / 0.6754 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.544e-05/4.562e-05, allocations: 12 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1904, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8367/1.027, allocations: 134.8 MB / 1.022 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.027, allocations: 86.95 kB / 1.022 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02186/1.049, allocations: 5.259 MB / 1.028 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.703e-06/1.049, allocations: 0 / 1.028 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.731e-05/1.049, allocations: 0 / 1.028 GB, free: 12.3 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006696/1.05, allocations: 444.5 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/1.05, allocations: 12.03 kB / 1.028 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.513e-05/1.05, allocations: 34.25 kB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/1.05, allocations: 19.77 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/1.051, allocations: 251.9 kB / 1.028 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/1.051, allocations: 3.938 kB / 1.028 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/1.051, allocations: 7.438 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/1.051, allocations: 127.1 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/1.051, allocations: 4 kB / 1.028 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/1.051, allocations: 7.047 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.051, allocations: 0 / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/1.052, allocations: 182.3 kB / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/1.052, allocations: 255.9 kB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007533/1.053, allocations: 195.4 kB / 1.029 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/1.053, allocations: 63.72 kB / 1.029 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/1.053, allocations: 15.2 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003271/1.054, allocations: 123.6 kB / 1.029 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.464e-06/1.054, allocations: 3.938 kB / 1.029 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0005916/1.054, allocations: 192.6 kB / 1.029 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/1.054, allocations: 81.11 kB / 1.029 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/1.055, allocations: 230.7 kB / 1.03 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/1.055, allocations: 37.58 kB / 1.03 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/1.055, allocations: 110.4 kB / 1.03 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-05/1.055, allocations: 41.95 kB / 1.03 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/1.055, allocations: 3.5 kB / 1.03 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.055, allocations: 334.3 kB / 1.03 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/1.055, allocations: 54.17 kB / 1.03 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/1.055, allocations: 81.08 kB / 1.03 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/1.056, allocations: 76.23 kB / 1.03 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.056, allocations: 0 / 1.03 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005276/1.056, allocations: 212.6 kB / 1.031 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.056, allocations: 4 kB / 1.031 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.056, allocations: 0 / 1.031 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.056, allocations: 0 / 1.031 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/1.056, allocations: 27.98 kB / 1.031 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/1.057, allocations: 0 / 1.031 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/1.057, allocations: 7.375 kB / 1.031 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/1.057, allocations: 12.02 kB / 1.031 GB, free: 9.293 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.0001164/1.057, allocations: 116.5 kB / 1.031 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/1.057, allocations: 15.81 kB / 1.031 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007586/1.058, allocations: 279.5 kB / 1.031 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.058, allocations: 0 / 1.031 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.058, allocations: 0 / 1.031 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/1.058, allocations: 0 / 1.031 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/1.058, allocations: 291.4 kB / 1.031 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.058, allocations: 0 / 1.031 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/1.058, allocations: 39.91 kB / 1.031 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/1.058, allocations: 0 / 1.031 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/1.058, allocations: 7.688 kB / 1.031 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/1.058, allocations: 0 / 1.031 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.058, allocations: 0 / 1.031 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/1.059, allocations: 264.5 kB / 1.032 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/1.059, allocations: 107.9 kB / 1.032 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/1.059, allocations: 15.44 kB / 1.032 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/1.059, allocations: 7.438 kB / 1.032 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/1.059, allocations: 19.91 kB / 1.032 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/1.059, allocations: 7.75 kB / 1.032 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002734/1.06, allocations: 183.7 kB / 1.032 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/1.06, allocations: 0 / 1.032 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003785/1.06, allocations: 46.56 kB / 1.032 GB, free: 8.02 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002027/1.062, allocations: 1.111 MB / 1.033 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004548/1.063, allocations: 159 kB / 1.033 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.063, allocations: 0 / 1.033 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/1.063, allocations: 91.16 kB / 1.033 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/1.063, allocations: 35.09 kB / 1.033 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/1.064, allocations: 332 kB / 1.034 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/1.065, allocations: 0.7403 MB / 1.034 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002102/1.065, allocations: 57.55 kB / 1.034 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/1.065, allocations: 66.47 kB / 1.034 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/1.065, allocations: 0 / 1.034 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/1.097, allocations: 4.978 MB / 1.039 GB, free: 0.8711 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/1.097, allocations: 213.6 kB / 1.04 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.451/3.548, allocations: 3.375 kB / 1.04 GB, free: 0.6484 MB / 0.6511 GB