Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008279/0.0008279, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009247/0.0009247, allocations: 173.5 kB / 16.58 MB, free: 5.973 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.395/1.395, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7046/0.7046, allocations: 115.5 MB / 407.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003495, allocations: 8 kB / 495.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1521, allocations: 77.53 MB / 0.5593 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.527/0.6791, allocations: 172.5 MB / 0.7278 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007603/0.6868, allocations: 4.073 MB / 0.7318 GB, free: 6.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.6884, allocations: 23.81 kB / 0.7318 GB, free: 6.637 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.6897, allocations: 333.7 kB / 0.7321 GB, free: 6.309 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003533/0.6933, allocations: 1.143 MB / 0.7332 GB, free: 5.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003143/0.6964, allocations: 1.01 MB / 0.7342 GB, free: 4.164 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003037/0.6995, allocations: 2.384 MB / 0.7366 GB, free: 1.777 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.7007, allocations: 0.853 MB / 0.7374 GB, free: 0.918 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.7021, allocations: 0.8093 MB / 0.7382 GB, free: 108 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.7032, allocations: 0.786 MB / 0.7389 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.7033, allocations: 60 kB / 0.739 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.7053, allocations: 0.8029 MB / 0.7398 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003716/0.7057, allocations: 326.8 kB / 0.7401 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.706, allocations: 217.1 kB / 0.7403 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.7075, allocations: 1.469 MB / 0.7417 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.7075, allocations: 0 / 0.7417 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.735e-06/0.7075, allocations: 4 kB / 0.7417 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.7076, allocations: 0 / 0.7417 GB, free: 12.44 MB / 0.5606 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.003645/0.7112, allocations: 1.507 MB / 0.7432 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.7113, allocations: 12.03 kB / 0.7432 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007593/0.712, allocations: 182.4 kB / 0.7434 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.7137, allocations: 0.9992 MB / 0.7444 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.7139, allocations: 49 kB / 0.7444 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.714, allocations: 64.77 kB / 0.7445 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.7152, allocations: 0.6232 MB / 0.7451 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.7152, allocations: 0 / 0.7451 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.7153, allocations: 20 kB / 0.7451 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.7153, allocations: 20.94 kB / 0.7451 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.7166, allocations: 0.6402 MB / 0.7458 GB, free: 8.215 MB / 0.5606 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.003979/0.7206, allocations: 2.685 MB / 0.7484 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.7216, allocations: 0.5487 MB / 0.7489 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006128/0.7223, allocations: 361.4 kB / 0.7493 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003802/0.7227, allocations: 295.2 kB / 0.7495 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.7227, allocations: 42.5 kB / 0.7496 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000663/0.7234, allocations: 159.6 kB / 0.7497 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=43): time 2.655e-06/0.7234, allocations: 0 / 0.7497 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.002188/0.7256, allocations: 1.055 MB / 0.7508 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.7256, allocations: 63.39 kB / 0.7508 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.7275, allocations: 1.259 MB / 0.7521 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/0.7276, allocations: 41.64 kB / 0.7521 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003675/0.728, allocations: 445.6 kB / 0.7525 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.7281, allocations: 145.8 kB / 0.7527 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.7282, allocations: 12 kB / 0.7527 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7283, allocations: 318 kB / 0.753 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005199/0.7288, allocations: 272.6 kB / 0.7532 GB, free: 304 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007247/0.7296, allocations: 479.9 kB / 0.7537 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006015/0.7302, allocations: 332.3 kB / 0.754 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7302, allocations: 0 / 0.754 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001366/0.7316, allocations: 0.7457 MB / 0.7547 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.862e-05/0.7316, allocations: 101.4 kB / 0.7548 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7316, allocations: 0 / 0.7548 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.7317, allocations: 7.953 kB / 0.7548 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/0.7323, allocations: 123.8 kB / 0.755 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.7323, allocations: 0 / 0.755 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.7334, allocations: 129.5 kB / 0.7551 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.89e-05/0.7335, allocations: 23.98 kB / 0.7551 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.919e-06/0.7335, allocations: 0 / 0.7551 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001197/0.7347, allocations: 0.6359 MB / 0.7557 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.7347, allocations: 3.938 kB / 0.7557 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/0.7347, allocations: 4 kB / 0.7557 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/0.7353, allocations: 127.8 kB / 0.7559 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.7353, allocations: 0 / 0.7559 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009787/0.7363, allocations: 121.9 kB / 0.756 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.662e-05/0.7363, allocations: 23.97 kB / 0.756 GB, free: 13.39 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004155/0.7368, allocations: 326.5 kB / 0.7563 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.737, allocations: 106.7 kB / 0.7564 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/0.7387, allocations: 0.8304 MB / 0.7572 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.7387, allocations: 8 kB / 0.7572 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7387, allocations: 0 / 0.7572 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.7387, allocations: 3.984 kB / 0.7572 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/0.7417, allocations: 1.96 MB / 0.7591 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.7417, allocations: 4 kB / 0.7591 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005256/0.7422, allocations: 116.1 kB / 0.7593 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.7422, allocations: 7.938 kB / 0.7593 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/0.7423, allocations: 19.98 kB / 0.7593 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.7423, allocations: 11.89 kB / 0.7593 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.7423, allocations: 7.938 kB / 0.7593 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.7443, allocations: 1.265 MB / 0.7605 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.7447, allocations: 291.7 kB / 0.7608 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.7448, allocations: 15.98 kB / 0.7608 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008639/0.7457, allocations: 75.86 kB / 0.7609 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.7458, allocations: 47.89 kB / 0.761 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.7459, allocations: 12.75 kB / 0.761 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001324/0.7472, allocations: 0.9208 MB / 0.7619 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7472, allocations: 0 / 0.7619 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001097/0.7483, allocations: 407.4 kB / 0.7623 GB, free: 6.805 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004585/0.7488, allocations: 228.8 kB / 0.7625 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001795/0.7506, allocations: 0.9639 MB / 0.7634 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.7506, allocations: 4 kB / 0.7634 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005889/0.7512, allocations: 348.1 kB / 0.7637 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.7532, allocations: 462.8 kB / 0.7642 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.7558, allocations: 1.945 MB / 0.7661 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.7564, allocations: 1.045 MB / 0.7671 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00108/0.7575, allocations: 295 kB / 0.7674 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.7578, allocations: 91.38 kB / 0.7675 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.7578, allocations: 4 kB / 0.7675 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of Templates: time 0.03536/0.7932, allocations: 19.77 MB / 0.7868 GB, free: 13.89 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)