Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0007778/0.0007776, allocations: 98.27 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.005719/0.005719, allocations: 170.6 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.622/1.622, allocations: 252 MB / 0.5105 GB, free: 4.66 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005933/0.0005934, allocations: 16 kB / 0.6249 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5642/0.5648, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1882/0.7531, allocations: 161.8 MB / 0.8867 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005661/0.7588, allocations: 5.631 MB / 0.8922 GB, free: 3.203 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.7591, allocations: 4 kB / 0.8922 GB, free: 3.199 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.7594, allocations: 75.52 kB / 0.8923 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.7596, allocations: 55.66 kB / 0.8924 GB, free: 3.07 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.000127/0.7598, allocations: 35.97 kB / 0.8924 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.7601, allocations: 263 kB / 0.8927 GB, free: 2.777 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.7602, allocations: 83.17 kB / 0.8927 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.7604, allocations: 87.58 kB / 0.8928 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.7605, allocations: 59.64 kB / 0.8929 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.7606, allocations: 4 kB / 0.8929 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 1.619e-05/0.7606, allocations: 4 kB / 0.8929 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.7606, allocations: 15.92 kB / 0.8929 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 7.633e-05/0.7607, allocations: 85.33 kB / 0.893 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.7609, allocations: 157.4 kB / 0.8931 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.7609, allocations: 0 / 0.8931 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7609, allocations: 0 / 0.8931 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.7609, allocations: 0 / 0.8931 GB, free: 2.285 MB / 0.7012 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.000503/0.7614, allocations: 410.2 kB / 0.8935 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.7615, allocations: 15.97 kB / 0.8935 GB, free: 1.824 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.7615, allocations: 15.81 kB / 0.8936 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.7618, allocations: 242.7 kB / 0.8938 GB, free: 1.531 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.7618, allocations: 8 kB / 0.8938 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.7618, allocations: 12 kB / 0.8938 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.7621, allocations: 165.8 kB / 0.894 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.7621, allocations: 11.94 kB / 0.894 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.7621, allocations: 0 / 0.894 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.7621, allocations: 11.94 kB / 0.894 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.7622, allocations: 71.89 kB / 0.8941 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008064/0.763, allocations: 1.148 MB / 0.8952 GB, free: 0 / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 7.903e-05/0.7631, allocations: 169.1 kB / 0.8953 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.7632, allocations: 80.17 kB / 0.8954 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.7632, allocations: 91.22 kB / 0.8955 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.7633, allocations: 105.8 kB / 0.8956 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.7633, allocations: 0 / 0.8956 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.665e-05/0.7633, allocations: 45.5 kB / 0.8956 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/0.7634, allocations: 186 kB / 0.8958 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.7637, allocations: 245 kB / 0.8961 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.7637, allocations: 29.7 kB / 0.8961 GB, free: 15 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.7638, allocations: 139.8 kB / 0.8962 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.7638, allocations: 0 / 0.8962 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.7638, allocations: 13.72 kB / 0.8962 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.7639, allocations: 326.8 kB / 0.8965 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.7639, allocations: 7.984 kB / 0.8965 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.355e-05/0.764, allocations: 71.72 kB / 0.8966 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.493e-05/0.7641, allocations: 44.23 kB / 0.8967 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7641, allocations: 0 / 0.8967 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001374/0.7642, allocations: 97.23 kB / 0.8968 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.7642, allocations: 8 kB / 0.8968 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.7643, allocations: 0 / 0.8968 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.7643, allocations: 0 / 0.8968 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.538e-05/0.7643, allocations: 12 kB / 0.8968 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.7643, allocations: 4 kB / 0.8968 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.428e-05/0.7644, allocations: 15.83 kB / 0.8968 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.7644, allocations: 4 kB / 0.8968 GB, free: 14.2 MB / 0.7169 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.0001125/0.7646, allocations: 205.2 kB / 0.897 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.7646, allocations: 124.7 kB / 0.8971 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.7647, allocations: 121.8 kB / 0.8972 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.487e-05/0.7648, allocations: 180.2 kB / 0.8974 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.728e-05/0.7648, allocations: 180.3 kB / 0.8976 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.763e-05/0.7649, allocations: 192.2 kB / 0.8978 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.7651, allocations: 449.3 kB / 0.8982 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.439e-05/0.7652, allocations: 112.9 kB / 0.8983 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.824e-05/0.7652, allocations: 104.9 kB / 0.8984 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.377e-05/0.7653, allocations: 176.3 kB / 0.8986 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/0.7653, allocations: 184.2 kB / 0.8987 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.956e-05/0.7654, allocations: 180.3 kB / 0.8989 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.726e-05/0.7655, allocations: 188.2 kB / 0.8991 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.7656, allocations: 315.6 kB / 0.8994 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.445e-05/0.7657, allocations: 205.8 kB / 0.8996 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.555e-05/0.7658, allocations: 180.3 kB / 0.8998 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.885e-05/0.7659, allocations: 108.9 kB / 0.8999 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.766, allocations: 176.3 kB / 0.9 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.766, allocations: 109.1 kB / 0.9001 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001684/0.7662, allocations: 184.5 kB / 0.9003 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7662, allocations: 3.938 kB / 0.9003 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002417/0.7664, allocations: 20 kB / 0.9003 GB, free: 10.36 MB / 0.7169 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.0001448/0.7666, allocations: 178.5 kB / 0.9005 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.545e-05/0.7667, allocations: 15.98 kB / 0.9005 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7667, allocations: 0 / 0.9005 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.7667, allocations: 3.938 kB / 0.9005 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006143/0.7673, allocations: 0.5738 MB / 0.9011 GB, free: 9.578 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.7678, allocations: 357.5 kB / 0.9014 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.768, allocations: 0.7205 MB / 0.9021 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.134e-05/0.7681, allocations: 21.53 kB / 0.9021 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.7682, allocations: 19.38 kB / 0.9022 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7682, allocations: 0 / 0.9022 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of Templates: time 0.004369/0.7725, allocations: 1.84 MB / 0.904 GB, free: 6.594 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) Environment - environmentSimulation: