Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.773/1.773, allocations: 297.4 MB / 312.6 MB, free: 2.922 MB / 234.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.0009261/0.0009262, allocations: 193.2 kB / 382.3 MB, free: 14.82 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.509/1.509, allocations: 225.7 MB / 0.6617 GB, free: 7.227 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008637/0.0008641, allocations: 94.38 kB / 0.7789 GB, free: 46.78 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003908, allocations: 12.62 kB / 0.9058 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7699/0.7703, allocations: 119.2 MB / 1.022 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2283/0.9987, allocations: 181 MB / 1.199 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01798/1.017, allocations: 10.99 MB / 1.21 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/1.019, allocations: 37.53 kB / 1.21 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/1.021, allocations: 456.8 kB / 1.21 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.005567/1.027, allocations: 1.452 MB / 1.212 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.009731/1.036, allocations: 2.279 MB / 1.214 GB, free: 9.062 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.005222/1.041, allocations: 2.812 MB / 1.217 GB, free: 6.723 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/1.043, allocations: 0.9167 MB / 1.218 GB, free: 6.031 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/1.045, allocations: 0.832 MB / 1.218 GB, free: 5.316 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/1.046, allocations: 0.8164 MB / 1.219 GB, free: 4.672 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/1.047, allocations: 59.94 kB / 1.219 GB, free: 4.613 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003734/1.05, allocations: 1.464 MB / 1.221 GB, free: 3.469 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0005511/1.051, allocations: 334.9 kB / 1.221 GB, free: 3.238 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0008637/1.052, allocations: 0.5811 MB / 1.222 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003863/1.056, allocations: 2.088 MB / 1.224 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/1.056, allocations: 0 / 1.224 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.054e-06/1.056, allocations: 4 kB / 1.224 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.306e-05/1.056, allocations: 4 kB / 1.224 GB, free: 1.43 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.004347/1.06, allocations: 1.531 MB / 1.225 GB, free: 36 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/1.06, allocations: 15.86 kB / 1.225 GB, free: 24 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/1.061, allocations: 199.8 kB / 1.225 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/1.063, allocations: 1.058 MB / 1.226 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/1.064, allocations: 56.97 kB / 1.226 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/1.064, allocations: 60 kB / 1.226 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/1.065, allocations: 0.6988 MB / 1.227 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/1.065, allocations: 0 / 1.227 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-05/1.065, allocations: 20 kB / 1.227 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/1.065, allocations: 12 kB / 1.227 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/1.066, allocations: 0.6402 MB / 1.228 GB, free: 13.39 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.004218/1.071, allocations: 2.686 MB / 1.23 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/1.072, allocations: 0.5692 MB / 1.231 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000627/1.072, allocations: 364.6 kB / 1.231 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004704/1.073, allocations: 287.5 kB / 1.232 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/1.073, allocations: 42.55 kB / 1.232 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008477/1.074, allocations: 163.5 kB / 1.232 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=43): time 2.204e-06/1.074, allocations: 0 / 1.232 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43): time 0.002364/1.076, allocations: 1.067 MB / 1.233 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.502e-05/1.076, allocations: 136.5 kB / 1.233 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/1.079, allocations: 1.28 MB / 1.234 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.292e-05/1.079, allocations: 37.7 kB / 1.234 GB, free: 6.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/1.079, allocations: 457.7 kB / 1.235 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/1.079, allocations: 149.8 kB / 1.235 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/1.079, allocations: 8 kB / 1.235 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.08, allocations: 321.9 kB / 1.235 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000589/1.08, allocations: 300.7 kB / 1.235 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008987/1.081, allocations: 0.5133 MB / 1.236 GB, free: 4.684 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/1.082, allocations: 0.6447 MB / 1.237 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/1.082, allocations: 0 / 1.237 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001667/1.084, allocations: 0.8071 MB / 1.237 GB, free: 3.227 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.918e-05/1.084, allocations: 99.38 kB / 1.237 GB, free: 3.125 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/1.084, allocations: 0 / 1.237 GB, free: 3.125 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/1.084, allocations: 4 kB / 1.237 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/1.085, allocations: 119.8 kB / 1.238 GB, free: 3.004 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/1.085, allocations: 11.92 kB / 1.238 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/1.086, allocations: 125.1 kB / 1.238 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.632e-05/1.086, allocations: 23.97 kB / 1.238 GB, free: 2.848 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/1.086, allocations: 4 kB / 1.238 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001358/1.088, allocations: 0.6621 MB / 1.238 GB, free: 2.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.088, allocations: 4.094 kB / 1.238 GB, free: 2.176 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.203e-06/1.088, allocations: 9.562 kB / 1.238 GB, free: 2.168 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/1.088, allocations: 123.8 kB / 1.238 GB, free: 2.047 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/1.088, allocations: 0 / 1.238 GB, free: 2.047 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/1.09, allocations: 128.3 kB / 1.239 GB, free: 1.922 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/1.09, allocations: 23.97 kB / 1.239 GB, free: 1.898 MB / 0.8073 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0005866/1.09, allocations: 345.3 kB / 1.239 GB, free: 1.555 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/1.09, allocations: 98.78 kB / 1.239 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/1.092, allocations: 0.8306 MB / 1.24 GB, free: 0.6133 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.092, allocations: 4 kB / 1.24 GB, free: 0.6094 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.092, allocations: 0 / 1.24 GB, free: 0.6094 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/1.092, allocations: 3.984 kB / 1.24 GB, free: 0.6055 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003067/1.095, allocations: 1.972 MB / 1.242 GB, free: 14.55 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/1.095, allocations: 4 kB / 1.242 GB, free: 14.54 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005585/1.096, allocations: 111.8 kB / 1.242 GB, free: 14.43 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/1.096, allocations: 8.688 kB / 1.242 GB, free: 14.43 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/1.096, allocations: 20.27 kB / 1.242 GB, free: 14.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/1.096, allocations: 11.94 kB / 1.242 GB, free: 14.39 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.096, allocations: 4 kB / 1.242 GB, free: 14.39 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/1.098, allocations: 1.272 MB / 1.243 GB, free: 13.08 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/1.099, allocations: 287.7 kB / 1.243 GB, free: 12.78 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/1.099, allocations: 23.94 kB / 1.243 GB, free: 12.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009437/1.1, allocations: 79.88 kB / 1.244 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.1, allocations: 39.95 kB / 1.244 GB, free: 12.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/1.1, allocations: 19.98 kB / 1.244 GB, free: 12.62 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001478/1.101, allocations: 0.9252 MB / 1.245 GB, free: 11.68 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.81e-07/1.101, allocations: 3.938 kB / 1.245 GB, free: 11.68 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001405/1.103, allocations: 439.4 kB / 1.245 GB, free: 11.25 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.x[1],mixBox.filter.x[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.0007126/1.104, allocations: 275.2 kB / 1.245 GB, free: 10.98 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002205/1.106, allocations: 1.073 MB / 1.246 GB, free: 9.895 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/1.106, allocations: 0 / 1.246 GB, free: 9.895 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007042/1.106, allocations: 356.2 kB / 1.247 GB, free: 9.547 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/1.109, allocations: 483.7 kB / 1.247 GB, free: 9.078 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/1.112, allocations: 2.046 MB / 1.249 GB, free: 6.969 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006793/1.113, allocations: 1.053 MB / 1.25 GB, free: 5.887 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001268/1.114, allocations: 307.3 kB / 1.25 GB, free: 5.582 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/1.114, allocations: 95.39 kB / 1.25 GB, free: 5.488 MB / 0.823 GB Notification: Performance of SimCode: time 9.11e-07/1.114, allocations: 0 / 1.25 GB, free: 5.488 MB / 0.823 GB Notification: Performance of Templates: time 0.04004/1.154, allocations: 21.76 MB / 1.272 GB, free: 28 kB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)