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.0007508/0.0007508, allocations: 98.58 kB / 16.02 MB, free: 80 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.0008302/0.0008301, allocations: 185 kB / 16.92 MB, free: 6.773 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7252/0.7252, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004636, allocations: 9.812 kB / 495.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2054, allocations: 77.54 MB / 0.56 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4979/0.7034, allocations: 184.9 MB / 0.7406 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007338/0.7108, allocations: 4.268 MB / 0.7447 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.7119, allocations: 27.81 kB / 0.7448 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.7133, allocations: 421.7 kB / 0.7452 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003708/0.717, allocations: 1.46 MB / 0.7466 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003871/0.7209, allocations: 1.234 MB / 0.7478 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003373/0.7242, allocations: 2.787 MB / 0.7505 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.7256, allocations: 0.9013 MB / 0.7514 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.727, allocations: 0.817 MB / 0.7522 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009877/0.728, allocations: 0.8209 MB / 0.753 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.7281, allocations: 60 kB / 0.7531 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.7305, allocations: 1.364 MB / 0.7544 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003542/0.7309, allocations: 334.7 kB / 0.7547 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005842/0.7315, allocations: 0.5806 MB / 0.7553 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.7338, allocations: 1.951 MB / 0.7572 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7338, allocations: 0 / 0.7572 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.404e-06/0.7338, allocations: 0 / 0.7572 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.7338, allocations: 0 / 0.7572 GB, free: 12.7 MB / 0.5762 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.00386/0.7377, allocations: 1.488 MB / 0.7586 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.202e-05/0.7378, allocations: 12.03 kB / 0.7586 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008685/0.7386, allocations: 190.4 kB / 0.7588 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/0.7404, allocations: 1.041 MB / 0.7598 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.7406, allocations: 56.92 kB / 0.7599 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.7407, allocations: 60 kB / 0.76 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.7419, allocations: 0.6193 MB / 0.7606 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.742, allocations: 0 / 0.7606 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.986e-05/0.742, allocations: 31.92 kB / 0.7606 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.953e-05/0.7421, allocations: 20.98 kB / 0.7606 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.7434, allocations: 0.6441 MB / 0.7612 GB, free: 8.43 MB / 0.5762 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.004035/0.7474, allocations: 2.669 MB / 0.7638 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.7486, allocations: 0.5542 MB / 0.7644 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006718/0.7493, allocations: 370 kB / 0.7647 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003999/0.7497, allocations: 291.2 kB / 0.765 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.7498, allocations: 38.56 kB / 0.7651 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006973/0.7505, allocations: 159.6 kB / 0.7652 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.605e-06/0.7505, allocations: 0 / 0.7652 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.002414/0.7529, allocations: 1.055 MB / 0.7662 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.753, allocations: 55.41 kB / 0.7663 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.755, allocations: 1.283 MB / 0.7675 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.329e-05/0.7551, allocations: 33.7 kB / 0.7676 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/0.7555, allocations: 437.7 kB / 0.768 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.7556, allocations: 149.8 kB / 0.7681 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.738e-05/0.7557, allocations: 41.69 kB / 0.7682 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.7558, allocations: 318 kB / 0.7685 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005922/0.7564, allocations: 280.6 kB / 0.7687 GB, free: 480 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000817/0.7573, allocations: 491.1 kB / 0.7692 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.7585, allocations: 0.6225 MB / 0.7698 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7585, allocations: 0 / 0.7698 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001661/0.7602, allocations: 0.7574 MB / 0.7706 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.7603, allocations: 97.61 kB / 0.7707 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.7603, allocations: 4 kB / 0.7707 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.7604, allocations: 4 kB / 0.7707 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007093/0.7611, allocations: 127.8 kB / 0.7708 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.7611, allocations: 4 kB / 0.7708 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.7624, allocations: 129.4 kB / 0.7709 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-05/0.7625, allocations: 23.91 kB / 0.7709 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.7625, allocations: 4 kB / 0.7709 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001297/0.7638, allocations: 0.6318 MB / 0.7716 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.7638, allocations: 0 / 0.7716 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.095e-06/0.7638, allocations: 11.94 kB / 0.7716 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/0.7644, allocations: 123.8 kB / 0.7717 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.7644, allocations: 0 / 0.7717 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.7656, allocations: 125.7 kB / 0.7718 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.7657, allocations: 23.97 kB / 0.7718 GB, free: 13.23 MB / 0.5919 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.000468/0.7662, allocations: 325 kB / 0.7721 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.7663, allocations: 106.6 kB / 0.7722 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001796/0.7682, allocations: 0.8421 MB / 0.7731 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.7682, allocations: 4 kB / 0.7731 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7682, allocations: 0 / 0.7731 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.7682, allocations: 0 / 0.7731 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/0.7714, allocations: 1.979 MB / 0.775 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.7714, allocations: 4 kB / 0.775 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005776/0.772, allocations: 107.9 kB / 0.7751 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.772, allocations: 8.281 kB / 0.7751 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.875e-05/0.7721, allocations: 19.98 kB / 0.7751 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/0.7721, allocations: 11.88 kB / 0.7751 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.7721, allocations: 4 kB / 0.7751 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.7744, allocations: 1.269 MB / 0.7764 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004546/0.7748, allocations: 291.6 kB / 0.7767 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.775, allocations: 16 kB / 0.7767 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.7761, allocations: 83.81 kB / 0.7768 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.7762, allocations: 43.89 kB / 0.7768 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/0.7763, allocations: 19.98 kB / 0.7768 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00155/0.7778, allocations: 0.9208 MB / 0.7777 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.883e-06/0.7778, allocations: 0 / 0.7777 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001292/0.7791, allocations: 411.3 kB / 0.7781 GB, free: 6.617 MB / 0.5919 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.0005961/0.7797, allocations: 216.5 kB / 0.7783 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002184/0.7819, allocations: 0.9718 MB / 0.7793 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.7819, allocations: 8 kB / 0.7793 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007134/0.7827, allocations: 348.1 kB / 0.7796 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/0.7856, allocations: 467.1 kB / 0.78 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.7889, allocations: 2.031 MB / 0.782 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007712/0.7897, allocations: 1.045 MB / 0.7831 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001445/0.7912, allocations: 287 kB / 0.7833 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004502/0.7916, allocations: 95.38 kB / 0.7834 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of SimCode: time 1.112e-06/0.7917, allocations: 0 / 0.7834 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of Templates: time 0.03787/0.8295, allocations: 20.37 MB / 0.8033 GB, free: 13.02 MB / 0.6231 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)