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.191/2.191, allocations: 248.7 MB / 256.2 MB, free: 7.105 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.001494/0.001493, allocations: 175.4 kB / 315.4 MB, free: 3.98 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.018/2.018, allocations: 205.3 MB / 0.5662 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001146, allocations: 82.55 kB / 0.6704 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.331e-05/2.31e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2017, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8359/1.038, allocations: 135 MB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/1.038, allocations: 94.05 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02201/1.06, allocations: 5.126 MB / 1.021 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.433e-06/1.06, allocations: 3.938 kB / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.926e-05/1.06, allocations: 4 kB / 1.021 GB, free: 15.63 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.0006588/1.061, allocations: 431.7 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/1.061, allocations: 12.03 kB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.984e-05/1.061, allocations: 15.77 kB / 1.022 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005439/1.062, allocations: 264 kB / 1.022 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/1.062, allocations: 3.938 kB / 1.022 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/1.062, allocations: 4 kB / 1.022 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004852/1.062, allocations: 189.3 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/1.062, allocations: 123.8 kB / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.062, allocations: 0 / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/1.062, allocations: 0 / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.062, allocations: 0 / 1.022 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/1.063, allocations: 230.4 kB / 1.022 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/1.064, allocations: 197.6 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/1.064, allocations: 63.72 kB / 1.023 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/1.064, allocations: 0 / 1.023 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/1.064, allocations: 111.2 kB / 1.023 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/1.064, allocations: 0 / 1.023 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0005864/1.065, allocations: 198.2 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/1.065, allocations: 81.11 kB / 1.023 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/1.065, allocations: 226.8 kB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/1.065, allocations: 25.7 kB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.535e-05/1.065, allocations: 112.3 kB / 1.023 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.651e-05/1.065, allocations: 45.83 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/1.065, allocations: 0 / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001928/1.066, allocations: 336.2 kB / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/1.066, allocations: 49.36 kB / 1.024 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/1.066, allocations: 78.48 kB / 1.024 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/1.066, allocations: 66.25 kB / 1.024 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.066, allocations: 0 / 1.024 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005088/1.067, allocations: 194.5 kB / 1.024 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/1.067, allocations: 8 kB / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.067, allocations: 3.984 kB / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/1.067, allocations: 0 / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/1.067, allocations: 31.8 kB / 1.024 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/1.067, allocations: 0 / 1.024 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/1.067, allocations: 11.97 kB / 1.024 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/1.067, allocations: 4 kB / 1.024 GB, free: 12.76 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.0001204/1.067, allocations: 112.9 kB / 1.024 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004709/1.068, allocations: 191.6 kB / 1.024 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/1.068, allocations: 23.66 kB / 1.024 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006858/1.069, allocations: 263.1 kB / 1.025 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.069, allocations: 4 kB / 1.025 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.069, allocations: 4 kB / 1.025 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/1.069, allocations: 0 / 1.025 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/1.069, allocations: 253.3 kB / 1.025 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.069, allocations: 0 / 1.025 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/1.069, allocations: 35.86 kB / 1.025 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/1.069, allocations: 0 / 1.025 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/1.069, allocations: 3.984 kB / 1.025 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.069, allocations: 4 kB / 1.025 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.069, allocations: 0 / 1.025 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/1.07, allocations: 259.2 kB / 1.025 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/1.07, allocations: 104.5 kB / 1.025 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-05/1.07, allocations: 7.5 kB / 1.025 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/1.07, allocations: 3.984 kB / 1.025 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/1.07, allocations: 11.98 kB / 1.025 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/1.07, allocations: 8 kB / 1.025 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002573/1.071, allocations: 178.3 kB / 1.025 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.071, allocations: 3.938 kB / 1.025 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004242/1.071, allocations: 47.86 kB / 1.026 GB, free: 11.38 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.001945/1.073, allocations: 1.086 MB / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004527/1.074, allocations: 145.7 kB / 1.027 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.074, allocations: 0 / 1.027 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/1.074, allocations: 82.98 kB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/1.074, allocations: 23.59 kB / 1.027 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/1.075, allocations: 321.4 kB / 1.027 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/1.076, allocations: 0.7364 MB / 1.028 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003763/1.076, allocations: 49.83 kB / 1.028 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/1.077, allocations: 68.27 kB / 1.028 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of SimCode: time 1.904e-06/1.077, allocations: 0 / 1.028 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0511/1.128, allocations: 4.468 MB / 1.032 GB, free: 4.617 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003411/1.128, allocations: 202.1 kB / 1.033 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/3.681, allocations: 0 / 1.033 GB, free: 4.371 MB / 0.6511 GB