Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.74/1.74, allocations: 306.1 MB / 321.4 MB, free: 10.77 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 175.5 kB / 393.1 MB, free: 4.109 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000857/0.000857, allocations: 99.48 kB / 0.7935 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003746, allocations: 15.98 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.765, allocations: 121.3 MB / 1.041 GB, free: 59.1 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2292/0.9942, allocations: 180.8 MB / 1.217 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.009162/1.003, allocations: 5.732 MB / 1.223 GB, free: 9.004 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/1.005, allocations: 23.81 kB / 1.223 GB, free: 8.98 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/1.007, allocations: 417.2 kB / 1.223 GB, free: 8.672 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004765/1.012, allocations: 1.46 MB / 1.225 GB, free: 7.531 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004214/1.016, allocations: 1.228 MB / 1.226 GB, free: 6.488 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.004251/1.02, allocations: 2.79 MB / 1.229 GB, free: 3.688 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/1.022, allocations: 0.9098 MB / 1.23 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/1.024, allocations: 0.8287 MB / 1.231 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/1.025, allocations: 0.813 MB / 1.231 GB, free: 1.117 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002761/1.025, allocations: 56 kB / 1.231 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003105/1.028, allocations: 1.348 MB / 1.233 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004279/1.029, allocations: 330.6 kB / 1.233 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.000811/1.03, allocations: 0.5883 MB / 1.234 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.002852/1.033, allocations: 1.951 MB / 1.235 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.033, allocations: 3.938 kB / 1.235 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.683e-06/1.033, allocations: 4 kB / 1.235 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.179e-05/1.033, allocations: 0 / 1.235 GB, free: 12.82 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00389/1.037, allocations: 1.498 MB / 1.237 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.037, allocations: 8.031 kB / 1.237 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008332/1.037, allocations: 190.5 kB / 1.237 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/1.039, allocations: 1.033 MB / 1.238 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/1.039, allocations: 60.92 kB / 1.238 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/1.04, allocations: 56 kB / 1.238 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/1.041, allocations: 0.6232 MB / 1.239 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/1.041, allocations: 0 / 1.239 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.003e-05/1.041, allocations: 16 kB / 1.239 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/1.041, allocations: 24.92 kB / 1.239 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/1.042, allocations: 0.6441 MB / 1.24 GB, free: 8.555 MB / 0.8073 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004217/1.046, allocations: 2.677 MB / 1.242 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/1.048, allocations: 0.5568 MB / 1.243 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/1.048, allocations: 361.9 kB / 1.243 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004034/1.049, allocations: 288 kB / 1.243 GB, free: 4.477 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/1.049, allocations: 38.56 kB / 1.243 GB, free: 4.43 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000686/1.049, allocations: 167.4 kB / 1.243 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=43): time 2.855e-06/1.049, allocations: 0 / 1.243 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43): time 0.00228/1.052, allocations: 1.047 MB / 1.245 GB, free: 3.211 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/1.052, allocations: 67.36 kB / 1.245 GB, free: 3.133 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/1.054, allocations: 1.267 MB / 1.246 GB, free: 1.848 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/1.054, allocations: 37.7 kB / 1.246 GB, free: 1.805 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.000386/1.054, allocations: 429.7 kB / 1.246 GB, free: 1.383 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/1.054, allocations: 149.8 kB / 1.246 GB, free: 1.234 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/1.054, allocations: 8 kB / 1.246 GB, free: 1.227 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.055, allocations: 329.9 kB / 1.247 GB, free: 0.8984 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/1.055, allocations: 276.6 kB / 1.247 GB, free: 0.6289 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007454/1.056, allocations: 490.9 kB / 1.247 GB, free: 72 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/1.057, allocations: 0.6136 MB / 1.248 GB, free: 15.46 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/1.057, allocations: 0 / 1.248 GB, free: 15.46 MB / 0.823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001488/1.059, allocations: 0.7652 MB / 1.249 GB, free: 14.68 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.558e-05/1.059, allocations: 89.86 kB / 1.249 GB, free: 14.59 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/1.059, allocations: 0 / 1.249 GB, free: 14.59 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.059, allocations: 0 / 1.249 GB, free: 14.59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006483/1.059, allocations: 135.8 kB / 1.249 GB, free: 14.46 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.059, allocations: 0 / 1.249 GB, free: 14.46 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/1.061, allocations: 136.1 kB / 1.249 GB, free: 14.32 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.481e-05/1.061, allocations: 23.97 kB / 1.249 GB, free: 14.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/1.061, allocations: 4 kB / 1.249 GB, free: 14.3 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001276/1.062, allocations: 0.6277 MB / 1.25 GB, free: 13.67 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/1.062, allocations: 0 / 1.25 GB, free: 13.67 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-06/1.062, allocations: 0 / 1.25 GB, free: 13.67 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/1.063, allocations: 131.8 kB / 1.25 GB, free: 13.54 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/1.063, allocations: 7.984 kB / 1.25 GB, free: 13.53 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/1.064, allocations: 121.1 kB / 1.25 GB, free: 13.41 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.616e-05/1.064, allocations: 27.97 kB / 1.25 GB, free: 13.39 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (45): * Single equations (assignments): 45 * 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.0005208/1.065, allocations: 330.3 kB / 1.25 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/1.065, allocations: 98.78 kB / 1.25 GB, free: 12.96 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/1.067, allocations: 0.8342 MB / 1.251 GB, free: 12.12 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.067, allocations: 4 kB / 1.251 GB, free: 12.11 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.067, allocations: 0 / 1.251 GB, free: 12.11 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.067, allocations: 0 / 1.251 GB, free: 12.11 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/1.07, allocations: 1.972 MB / 1.253 GB, free: 10.06 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/1.07, allocations: 11.98 kB / 1.253 GB, free: 10.05 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/1.071, allocations: 103.9 kB / 1.253 GB, free: 9.945 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/1.071, allocations: 4 kB / 1.253 GB, free: 9.941 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/1.071, allocations: 23.92 kB / 1.253 GB, free: 9.918 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.587e-05/1.071, allocations: 7.938 kB / 1.253 GB, free: 9.91 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/1.071, allocations: 8.188 kB / 1.253 GB, free: 9.902 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/1.073, allocations: 1.265 MB / 1.255 GB, free: 8.594 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005174/1.073, allocations: 291.6 kB / 1.255 GB, free: 8.289 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/1.074, allocations: 23.92 kB / 1.255 GB, free: 8.266 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/1.075, allocations: 75.97 kB / 1.255 GB, free: 8.191 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/1.075, allocations: 39.95 kB / 1.255 GB, free: 8.152 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/1.075, allocations: 19.98 kB / 1.255 GB, free: 8.133 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001541/1.076, allocations: 0.9091 MB / 1.256 GB, free: 7.215 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.81e-07/1.076, allocations: 0 / 1.256 GB, free: 7.215 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001269/1.078, allocations: 407.4 kB / 1.256 GB, free: 6.816 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * 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 (52): * Single equations (assignments): 52 * 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.0005015/1.078, allocations: 234.1 kB / 1.257 GB, free: 6.594 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001964/1.08, allocations: 0.9718 MB / 1.257 GB, free: 5.625 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.08, allocations: 0 / 1.257 GB, free: 5.625 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006468/1.081, allocations: 351.8 kB / 1.258 GB, free: 5.281 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/1.083, allocations: 470.2 kB / 1.258 GB, free: 4.82 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/1.086, allocations: 2.026 MB / 1.26 GB, free: 2.73 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/1.087, allocations: 1.038 MB / 1.261 GB, free: 1.66 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001217/1.088, allocations: 303 kB / 1.262 GB, free: 1.359 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/1.089, allocations: 95.39 kB / 1.262 GB, free: 1.266 MB / 0.823 GB Notification: Performance of SimCode: time 4.91e-07/1.089, allocations: 0 / 1.262 GB, free: 1.266 MB / 0.823 GB Notification: Performance of Templates: time 0.03371/1.122, allocations: 20.36 MB / 1.282 GB, free: 13.21 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)