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.001137/0.001137, allocations: 101.8 kB / 16.52 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001108, allocations: 196.8 kB / 17.44 MB, free: 6.047 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.326/1.326, allocations: 222.9 MB / 241.1 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7147/0.7147, allocations: 115.3 MB / 406.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 67.89 kB / 493.6 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3606, allocations: 76.16 MB / 0.5564 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1909/0.5516, allocations: 187.4 MB / 0.7394 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008032/0.5597, allocations: 4.315 MB / 0.7436 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.5612, allocations: 27.81 kB / 0.7437 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.563, allocations: 417.6 kB / 0.7441 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004437/0.5675, allocations: 1.462 MB / 0.7455 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003524/0.571, allocations: 1.222 MB / 0.7467 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3586/0.9296, allocations: 2.775 MB / 0.7494 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.9314, allocations: 0.9226 MB / 0.7503 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.9333, allocations: 0.8379 MB / 0.7511 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.9347, allocations: 0.8402 MB / 0.7519 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002263/0.9349, allocations: 70.12 kB / 0.752 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003147/0.9381, allocations: 1.369 MB / 0.7533 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000531/0.9386, allocations: 354.6 kB / 0.7537 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000858/0.9395, allocations: 0.5754 MB / 0.7542 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.9418, allocations: 1.514 MB / 0.7557 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9418, allocations: 0.625 kB / 0.7557 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.32e-07/0.9418, allocations: 0 / 0.7557 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.137e-05/0.9418, allocations: 0.8438 kB / 0.7557 GB, free: 3.293 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.005302/0.9471, allocations: 1.73 MB / 0.7574 GB, free: 18.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.9472, allocations: 12.28 kB / 0.7574 GB, free: 18.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.9482, allocations: 187.3 kB / 0.7576 GB, free: 18.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.9502, allocations: 1.037 MB / 0.7586 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.9504, allocations: 53.7 kB / 0.7586 GB, free: 18.04 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.9505, allocations: 61.19 kB / 0.7587 GB, free: 18.04 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.9519, allocations: 0.6111 MB / 0.7593 GB, free: 18.01 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.952, allocations: 0.7812 kB / 0.7593 GB, free: 18.01 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.398e-05/0.9521, allocations: 19.03 kB / 0.7593 GB, free: 18.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-05/0.9521, allocations: 23.2 kB / 0.7593 GB, free: 18.01 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.9536, allocations: 0.6263 MB / 0.76 GB, free: 18 MB / 0.5919 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.004577/0.9582, allocations: 2.656 MB / 0.7625 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.9594, allocations: 0.5422 MB / 0.7631 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006495/0.96, allocations: 348.3 kB / 0.7634 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004361/0.9605, allocations: 303.1 kB / 0.7637 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.9605, allocations: 39.28 kB / 0.7637 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008885/0.9614, allocations: 159.2 kB / 0.7639 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 3.817e-06/0.9614, allocations: 0 / 0.7639 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002469/0.9639, allocations: 1.013 MB / 0.7649 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.964, allocations: 55.75 kB / 0.7649 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/0.9666, allocations: 1.277 MB / 0.7662 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.9667, allocations: 38.92 kB / 0.7662 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.9671, allocations: 438.2 kB / 0.7666 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.9673, allocations: 152.4 kB / 0.7668 GB, free: 16.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.9675, allocations: 117.7 kB / 0.7669 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.9677, allocations: 319.7 kB / 0.7672 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006261/0.9683, allocations: 276.6 kB / 0.7675 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007752/0.9691, allocations: 482.1 kB / 0.7679 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.9703, allocations: 0.5854 MB / 0.7685 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.9704, allocations: 3.938 kB / 0.7685 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001871/0.9722, allocations: 0.7405 MB / 0.7692 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.9723, allocations: 5.531 kB / 0.7692 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.9723, allocations: 0 / 0.7692 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.9723, allocations: 1.938 kB / 0.7692 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007024/0.973, allocations: 120.5 kB / 0.7693 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.973, allocations: 1.062 kB / 0.7693 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.9745, allocations: 107.7 kB / 0.7694 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-05/0.9746, allocations: 30.61 kB / 0.7695 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009595/0.9756, allocations: 465.6 kB / 0.7699 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00077/0.9764, allocations: 496.6 kB / 0.7704 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001193/0.9776, allocations: 0.576 MB / 0.771 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-06/0.9776, allocations: 0 / 0.771 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001761/0.9793, allocations: 0.7332 MB / 0.7717 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.9794, allocations: 5.375 kB / 0.7717 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.9794, allocations: 0 / 0.7717 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/0.9794, allocations: 9.234 kB / 0.7717 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/0.98, allocations: 127.9 kB / 0.7718 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.9801, allocations: 4.422 kB / 0.7718 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.9817, allocations: 136.3 kB / 0.7719 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/0.9818, allocations: 23.47 kB / 0.772 GB, free: 15.13 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.0002449/0.982, allocations: 206.9 kB / 0.7722 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.9823, allocations: 103.2 kB / 0.7723 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.9842, allocations: 0.8151 MB / 0.7731 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.9842, allocations: 4.844 kB / 0.7731 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.9842, allocations: 0.5938 kB / 0.7731 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.9843, allocations: 3.797 kB / 0.7731 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003401/0.9877, allocations: 1.95 MB / 0.775 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.9877, allocations: 3.219 kB / 0.775 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005663/0.9883, allocations: 111.2 kB / 0.7751 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.9883, allocations: 2.812 kB / 0.7751 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.506e-05/0.9883, allocations: 19.44 kB / 0.7751 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.9883, allocations: 6.281 kB / 0.7751 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9883, allocations: 2.75 kB / 0.7751 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.9903, allocations: 1.235 MB / 0.7763 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005537/0.9909, allocations: 286 kB / 0.7766 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.9911, allocations: 16.31 kB / 0.7766 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.9921, allocations: 81 kB / 0.7767 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.9923, allocations: 38.73 kB / 0.7767 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.9923, allocations: 24.39 kB / 0.7767 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001409/0.9937, allocations: 0.9207 MB / 0.7776 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.723e-06/0.9937, allocations: 0 / 0.7776 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001486/0.9952, allocations: 408.8 kB / 0.778 GB, free: 13.82 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.0005908/0.9958, allocations: 228.5 kB / 0.7782 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002074/0.9979, allocations: 0.9384 MB / 0.7792 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.9979, allocations: 3.953 kB / 0.7792 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006136/0.9986, allocations: 337.8 kB / 0.7795 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/1.002, allocations: 455.3 kB / 0.7799 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/1.005, allocations: 2.038 MB / 0.7819 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007056/1.006, allocations: 1.048 MB / 0.7829 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006122/1.006, allocations: 100.1 kB / 0.783 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/1.006, allocations: 0 / 0.783 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of Templates: time 0.02863/1.035, allocations: 16.39 MB / 0.799 GB, free: 6.68 MB / 0.5919 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)