Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.211/2.211, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 206.7 kB / 499.1 MB, free: 4.66 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 103.7 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 48.92 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2972, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1748/0.472, allocations: 187.4 MB / 1.401 GB, free: 9.098 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.007068/0.4792, allocations: 4.324 MB / 1.405 GB, free: 4.766 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.4804, allocations: 23.81 kB / 1.405 GB, free: 4.742 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.4816, allocations: 421.6 kB / 1.406 GB, free: 4.328 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003423/0.4851, allocations: 1.459 MB / 1.407 GB, free: 2.863 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003149/0.4883, allocations: 1.228 MB / 1.408 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002763/0.491, allocations: 2.802 MB / 1.411 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.4922, allocations: 0.9263 MB / 1.412 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.4934, allocations: 0.8481 MB / 1.413 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009676/0.4944, allocations: 0.8482 MB / 1.414 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.4945, allocations: 64 kB / 1.414 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002262/0.4968, allocations: 1.372 MB / 1.415 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003401/0.4971, allocations: 342.7 kB / 1.415 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.00055/0.4977, allocations: 0.575 MB / 1.416 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.4998, allocations: 1.99 MB / 1.418 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4998, allocations: 0 / 1.418 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4998, allocations: 0 / 1.418 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.4998, allocations: 0 / 1.418 GB, free: 7.848 MB / 0.9167 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.00392/0.5037, allocations: 1.737 MB / 1.42 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.5038, allocations: 11.98 kB / 1.42 GB, free: 6.047 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007832/0.5046, allocations: 190.4 kB / 1.42 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.5063, allocations: 1.03 MB / 1.421 GB, free: 4.773 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.5064, allocations: 64.92 kB / 1.421 GB, free: 4.711 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.867e-05/0.5065, allocations: 56 kB / 1.421 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.5076, allocations: 0.6115 MB / 1.422 GB, free: 4.039 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.5076, allocations: 0 / 1.422 GB, free: 4.039 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-05/0.5077, allocations: 20 kB / 1.422 GB, free: 4.02 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.5077, allocations: 17 kB / 1.422 GB, free: 4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.509, allocations: 0.6246 MB / 1.422 GB, free: 3.375 MB / 0.9167 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.003773/0.5128, allocations: 2.654 MB / 1.425 GB, free: 0.5742 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.5138, allocations: 0.5412 MB / 1.425 GB, free: 24 kB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.556/1.07, allocations: 346.6 kB / 1.426 GB, free: 207.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004218/1.07, allocations: 291.9 kB / 1.426 GB, free: 207.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/1.07, allocations: 37.72 kB / 1.426 GB, free: 207.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001218/1.072, allocations: 156.4 kB / 1.426 GB, free: 207.4 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=43): time 3.647e-06/1.072, allocations: 0.8125 kB / 1.426 GB, free: 207.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=43): time 0.002928/1.075, allocations: 1.017 MB / 1.427 GB, free: 207.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/1.075, allocations: 56.06 kB / 1.427 GB, free: 207.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/1.077, allocations: 1.273 MB / 1.428 GB, free: 206.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.777e-05/1.077, allocations: 40.45 kB / 1.428 GB, free: 206.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/1.077, allocations: 437.1 kB / 1.429 GB, free: 206.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/1.078, allocations: 150.2 kB / 1.429 GB, free: 206.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/1.078, allocations: 120.4 kB / 1.429 GB, free: 206.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.154e-05/1.078, allocations: 329.1 kB / 1.429 GB, free: 206.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006191/1.079, allocations: 269.8 kB / 1.43 GB, free: 206 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000833/1.079, allocations: 479.8 kB / 1.43 GB, free: 205.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/1.081, allocations: 0.5938 MB / 1.431 GB, free: 205.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.081, allocations: 0 / 1.431 GB, free: 205.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00189/1.083, allocations: 0.7415 MB / 1.431 GB, free: 205.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/1.083, allocations: 10.66 kB / 1.431 GB, free: 205.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/1.083, allocations: 0.7969 kB / 1.431 GB, free: 205.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/1.083, allocations: 2.25 kB / 1.431 GB, free: 205.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006858/1.083, allocations: 123.9 kB / 1.432 GB, free: 205.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.083, allocations: 1.469 kB / 1.432 GB, free: 205.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/1.085, allocations: 105.7 kB / 1.432 GB, free: 205.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.035e-05/1.085, allocations: 30.11 kB / 1.432 GB, free: 205.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009102/1.086, allocations: 466.4 kB / 1.432 GB, free: 204.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008142/1.087, allocations: 482.9 kB / 1.433 GB, free: 204.6 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001221/1.088, allocations: 0.5805 MB / 1.433 GB, free: 204.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.776e-06/1.088, allocations: 3.422 kB / 1.433 GB, free: 204.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001717/1.09, allocations: 0.7332 MB / 1.434 GB, free: 204.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/1.09, allocations: 5.531 kB / 1.434 GB, free: 204.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/1.09, allocations: 1.5 kB / 1.434 GB, free: 204.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.49e-06/1.09, allocations: 1.125 kB / 1.434 GB, free: 204.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/1.09, allocations: 124.4 kB / 1.434 GB, free: 204.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/1.09, allocations: 1.188 kB / 1.434 GB, free: 204.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/1.092, allocations: 139 kB / 1.434 GB, free: 204.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.109e-05/1.092, allocations: 21.47 kB / 1.434 GB, free: 204.1 MB / 0.9167 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.0002204/1.092, allocations: 212.4 kB / 1.434 GB, free: 203.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/1.092, allocations: 104.8 kB / 1.434 GB, free: 203.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/1.094, allocations: 0.8109 MB / 1.435 GB, free: 203.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/1.094, allocations: 5.531 kB / 1.435 GB, free: 203.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.094, allocations: 0.9375 kB / 1.435 GB, free: 203.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/1.094, allocations: 2.484 kB / 1.435 GB, free: 203.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/1.098, allocations: 1.954 MB / 1.437 GB, free: 202.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.098, allocations: 5.219 kB / 1.437 GB, free: 202.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/1.098, allocations: 115.8 kB / 1.437 GB, free: 202.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/1.098, allocations: 9.062 kB / 1.437 GB, free: 202.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.625e-05/1.098, allocations: 12.14 kB / 1.437 GB, free: 202.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/1.098, allocations: 5.188 kB / 1.437 GB, free: 202.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.098, allocations: 6.844 kB / 1.437 GB, free: 202.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005568/1.104, allocations: 3.649 MB / 1.441 GB, free: 200.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000483/1.104, allocations: 285.5 kB / 1.441 GB, free: 200.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/1.105, allocations: 14.92 kB / 1.441 GB, free: 200.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/1.106, allocations: 72.31 kB / 1.441 GB, free: 200.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/1.106, allocations: 40.88 kB / 1.441 GB, free: 200.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/1.106, allocations: 20.59 kB / 1.441 GB, free: 200.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001574/1.107, allocations: 0.9216 MB / 1.442 GB, free: 199.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.11e-07/1.107, allocations: 0 / 1.442 GB, free: 199.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00189/1.109, allocations: 0.5563 MB / 1.443 GB, free: 199.8 MB / 0.9167 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.0005467/1.11, allocations: 216 kB / 1.443 GB, free: 199.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002302/1.112, allocations: 0.9358 MB / 1.444 GB, free: 199.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.112, allocations: 0.9375 kB / 1.444 GB, free: 199.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007118/1.113, allocations: 338.1 kB / 1.444 GB, free: 199.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/1.116, allocations: 466 kB / 1.445 GB, free: 199.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/1.119, allocations: 2.316 MB / 1.447 GB, free: 197.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007021/1.12, allocations: 1.059 MB / 1.448 GB, free: 197 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001476/1.121, allocations: 299.3 kB / 1.448 GB, free: 196.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/1.121, allocations: 97.69 kB / 1.448 GB, free: 196.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.012e-06/1.121, allocations: 0 / 1.448 GB, free: 196.9 MB / 0.9167 GB Notification: Performance of Templates: time 0.03228/1.154, allocations: 21.3 MB / 1.469 GB, free: 180.3 MB / 0.9167 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)