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.001597/0.001597, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001749/0.001749, allocations: 197.9 kB / 16.25 MB, free: 6.621 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.442/1.442, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.847/2.847, allocations: 472.6 MB / 0.7448 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 60.81 kB / 0.9115 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3601, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2022/0.5624, allocations: 163.9 MB / 1.228 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005853/0.5683, allocations: 5.65 MB / 1.233 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003002/0.5687, allocations: 7.938 kB / 1.233 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.5691, allocations: 75.52 kB / 1.233 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.5695, allocations: 55.66 kB / 1.233 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.5696, allocations: 27.98 kB / 1.233 GB, free: 476 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.57, allocations: 219.1 kB / 1.234 GB, free: 256 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002267/0.5702, allocations: 86.64 kB / 1.234 GB, free: 172 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.5704, allocations: 99.62 kB / 1.234 GB, free: 72 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.5706, allocations: 79.56 kB / 1.234 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.5706, allocations: 8 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.307e-05/0.5707, allocations: 15.94 kB / 1.234 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.5707, allocations: 27.92 kB / 1.234 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.404e-05/0.5708, allocations: 71.61 kB / 1.234 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.571, allocations: 147.5 kB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.571, allocations: 4 kB / 1.234 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.571, allocations: 0 / 1.234 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.5711, allocations: 0 / 1.234 GB, free: 15.72 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.0006642/0.5717, allocations: 448.7 kB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5718, allocations: 15.97 kB / 1.235 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.5718, allocations: 15.81 kB / 1.235 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.5721, allocations: 242.6 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.5722, allocations: 8 kB / 1.235 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.5722, allocations: 12 kB / 1.235 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.5725, allocations: 168.4 kB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.5725, allocations: 4 kB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.5725, allocations: 4 kB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5725, allocations: 7.984 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.5727, allocations: 75.84 kB / 1.235 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.5737, allocations: 1.144 MB / 1.236 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.5738, allocations: 169.1 kB / 1.236 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.5739, allocations: 84.14 kB / 1.236 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.5739, allocations: 79.22 kB / 1.236 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/0.574, allocations: 117.8 kB / 1.237 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.574, allocations: 0 / 1.237 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.681e-05/0.5741, allocations: 45.5 kB / 1.237 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.328e-05/0.5742, allocations: 178.1 kB / 1.237 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.5745, allocations: 256.9 kB / 1.237 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.5745, allocations: 25.7 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.5746, allocations: 123.9 kB / 1.237 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-06/0.5746, allocations: 0 / 1.237 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.5747, allocations: 25.72 kB / 1.237 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5748, allocations: 334.8 kB / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.525e-05/0.5748, allocations: 8 kB / 1.238 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.699e-05/0.5749, allocations: 63.72 kB / 1.238 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.708e-05/0.575, allocations: 60.25 kB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.575, allocations: 0 / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001623/0.5752, allocations: 89.41 kB / 1.238 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5752, allocations: 8 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5752, allocations: 0 / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.5752, allocations: 4 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.5753, allocations: 4 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.5753, allocations: 11.92 kB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.735e-05/0.5754, allocations: 11.97 kB / 1.238 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.5754, allocations: 11.94 kB / 1.238 GB, free: 11.58 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.0001367/0.5756, allocations: 209.6 kB / 1.238 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.29e-05/0.5757, allocations: 128.8 kB / 1.238 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.484e-05/0.5757, allocations: 117.8 kB / 1.238 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.696e-05/0.5758, allocations: 184.2 kB / 1.238 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.463e-05/0.5759, allocations: 180.3 kB / 1.239 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001042/0.576, allocations: 180.2 kB / 1.239 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.5764, allocations: 453.2 kB / 1.239 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.558e-05/0.5765, allocations: 104.9 kB / 1.239 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.5765, allocations: 104.9 kB / 1.239 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-05/0.5766, allocations: 180.3 kB / 1.24 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.351e-05/0.5767, allocations: 184.2 kB / 1.24 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.336e-05/0.5768, allocations: 180.2 kB / 1.24 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001264/0.5769, allocations: 180.5 kB / 1.24 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.5771, allocations: 323.6 kB / 1.24 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.5773, allocations: 205.8 kB / 1.241 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.5775, allocations: 180.3 kB / 1.241 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.5776, allocations: 105 kB / 1.241 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.5777, allocations: 188.2 kB / 1.241 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.755e-05/0.5778, allocations: 105 kB / 1.241 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001768/0.578, allocations: 176.5 kB / 1.241 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.578, allocations: 0 / 1.241 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000273/0.5783, allocations: 24 kB / 1.241 GB, free: 7.746 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.0001634/0.5784, allocations: 178.5 kB / 1.242 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.403e-05/0.5785, allocations: 19.94 kB / 1.242 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5785, allocations: 0 / 1.242 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.5785, allocations: 0 / 1.242 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.5792, allocations: 0.5102 MB / 1.242 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005124/0.5797, allocations: 359.5 kB / 1.242 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.5802, allocations: 0.7124 MB / 1.243 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.646e-05/0.5803, allocations: 29.56 kB / 1.243 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.5804, allocations: 15.44 kB / 1.243 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.5804, allocations: 0 / 1.243 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of Templates: time 0.004902/0.5853, allocations: 1.927 MB / 1.245 GB, free: 3.965 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)