Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009403/0.0009403, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.008468/0.008468, allocations: 170.5 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.84/2.84, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004066, allocations: 9.125 kB / 0.9158 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3582, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1971/0.5553, allocations: 161.8 MB / 1.232 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00573/0.5611, allocations: 5.608 MB / 1.238 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.5614, allocations: 7.938 kB / 1.238 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.5618, allocations: 75.5 kB / 1.238 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.562, allocations: 59.67 kB / 1.238 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.5622, allocations: 35.97 kB / 1.238 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.5625, allocations: 263 kB / 1.238 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.5628, allocations: 79.19 kB / 1.238 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.563, allocations: 75.66 kB / 1.238 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.5631, allocations: 75.58 kB / 1.238 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.5632, allocations: 0 / 1.238 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.761e-05/0.5632, allocations: 4 kB / 1.238 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.5632, allocations: 15.92 kB / 1.238 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.331e-05/0.5633, allocations: 85.33 kB / 1.238 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.5635, allocations: 151.4 kB / 1.238 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.5635, allocations: 0 / 1.238 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5635, allocations: 0 / 1.238 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.5636, allocations: 0 / 1.238 GB, free: 14.61 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006107/0.5642, allocations: 422.7 kB / 1.239 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5642, allocations: 8.031 kB / 1.239 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.5643, allocations: 15.81 kB / 1.239 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.5646, allocations: 238.6 kB / 1.239 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.5646, allocations: 8 kB / 1.239 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.5646, allocations: 12 kB / 1.239 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.5649, allocations: 176.4 kB / 1.239 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5649, allocations: 0 / 1.239 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.5649, allocations: 4 kB / 1.239 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.565, allocations: 4 kB / 1.239 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.5651, allocations: 75.83 kB / 1.239 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008949/0.566, allocations: 1.144 MB / 1.241 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.5661, allocations: 177.1 kB / 1.241 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.5662, allocations: 84.12 kB / 1.241 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.5662, allocations: 79.22 kB / 1.241 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.5662, allocations: 113.7 kB / 1.241 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.5663, allocations: 0 / 1.241 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.583e-05/0.5663, allocations: 41.52 kB / 1.241 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/0.5664, allocations: 182.1 kB / 1.241 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.5667, allocations: 256.9 kB / 1.241 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.5667, allocations: 25.7 kB / 1.241 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.632e-05/0.5668, allocations: 127.9 kB / 1.242 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.5668, allocations: 4 kB / 1.242 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.5669, allocations: 9.719 kB / 1.242 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.567, allocations: 330.8 kB / 1.242 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.188e-05/0.567, allocations: 4 kB / 1.242 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.5671, allocations: 75.66 kB / 1.242 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.236e-05/0.5672, allocations: 52.22 kB / 1.242 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5672, allocations: 0 / 1.242 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001545/0.5673, allocations: 85.31 kB / 1.242 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.5674, allocations: 8 kB / 1.242 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5674, allocations: 0 / 1.242 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.5674, allocations: 4 kB / 1.242 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.549e-05/0.5675, allocations: 7.984 kB / 1.242 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.5675, allocations: 8.156 kB / 1.242 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.776e-05/0.5676, allocations: 19.83 kB / 1.242 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.5676, allocations: 7.984 kB / 1.242 GB, free: 10.52 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001399/0.5677, allocations: 209 kB / 1.242 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.5678, allocations: 124.7 kB / 1.242 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.767e-05/0.5679, allocations: 117.8 kB / 1.243 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-05/0.568, allocations: 184.2 kB / 1.243 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.668e-05/0.568, allocations: 180.3 kB / 1.243 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.708e-05/0.5681, allocations: 176.3 kB / 1.243 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.5684, allocations: 457.1 kB / 1.244 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.411e-05/0.5684, allocations: 104.9 kB / 1.244 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.5685, allocations: 109 kB / 1.244 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.624e-05/0.5685, allocations: 184.3 kB / 1.244 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.503e-05/0.5686, allocations: 180.2 kB / 1.244 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.728e-05/0.5687, allocations: 180.2 kB / 1.244 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.413e-05/0.5688, allocations: 176.3 kB / 1.244 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.5689, allocations: 323.6 kB / 1.245 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.569, allocations: 201.8 kB / 1.245 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/0.5691, allocations: 184.2 kB / 1.245 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.5693, allocations: 109.1 kB / 1.245 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.5693, allocations: 180.2 kB / 1.245 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.5694, allocations: 105 kB / 1.245 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001693/0.5696, allocations: 188.4 kB / 1.246 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5696, allocations: 0 / 1.246 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002452/0.5698, allocations: 23.98 kB / 1.246 GB, free: 6.68 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001436/0.57, allocations: 170.5 kB / 1.246 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.749e-05/0.5701, allocations: 19.94 kB / 1.246 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5701, allocations: 0 / 1.246 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.5701, allocations: 320 / 1.246 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.5708, allocations: 0.5852 MB / 1.246 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004756/0.5713, allocations: 357.4 kB / 1.247 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.5716, allocations: 0.7205 MB / 1.247 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.376e-05/0.5716, allocations: 21.55 kB / 1.247 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.5717, allocations: 15.44 kB / 1.248 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.5717, allocations: 0 / 1.248 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of Templates: time 0.004666/0.5764, allocations: 1.85 MB / 1.249 GB, free: 2.906 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_3.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1)