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.001195/0.001194, allocations: 85.69 kB / 16.66 MB, free: 5.863 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.00119/0.00119, allocations: 177.6 kB / 17.58 MB, free: 5.535 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.366/1.366, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7256/0.7256, allocations: 115.5 MB / 408.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003512, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4199, allocations: 77.52 MB / 0.5606 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2264/0.6463, allocations: 184.9 MB / 0.7412 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008252/0.6546, allocations: 4.273 MB / 0.7454 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.6562, allocations: 27.81 kB / 0.7454 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.6578, allocations: 421.6 kB / 0.7458 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004257/0.6621, allocations: 1.455 MB / 0.7472 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003645/0.6658, allocations: 1.239 MB / 0.7484 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3847/1.051, allocations: 2.763 MB / 0.7511 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002346/1.053, allocations: 0.9127 MB / 0.752 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002382/1.055, allocations: 0.8164 MB / 0.7528 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/1.057, allocations: 0.8103 MB / 0.7536 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002546/1.057, allocations: 57.38 kB / 0.7537 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003392/1.061, allocations: 1.367 MB / 0.755 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000637/1.061, allocations: 335.8 kB / 0.7553 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/1.063, allocations: 0.5799 MB / 0.7559 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003167/1.066, allocations: 1.483 MB / 0.7573 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.066, allocations: 6.328 kB / 0.7573 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.615e-06/1.066, allocations: 0 / 0.7573 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.866e-05/1.066, allocations: 0 / 0.7573 GB, free: 3.418 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.00523/1.071, allocations: 1.486 MB / 0.7588 GB, free: 18.65 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.071, allocations: 13.56 kB / 0.7588 GB, free: 18.65 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/1.072, allocations: 188.1 kB / 0.759 GB, free: 18.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/1.075, allocations: 1.041 MB / 0.76 GB, free: 18.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/1.075, allocations: 52.58 kB / 0.76 GB, free: 18.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/1.075, allocations: 60.38 kB / 0.7601 GB, free: 18.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/1.076, allocations: 0.6253 MB / 0.7607 GB, free: 18.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/1.076, allocations: 2.484 kB / 0.7607 GB, free: 18.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-05/1.077, allocations: 19.69 kB / 0.7607 GB, free: 18.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.156e-05/1.077, allocations: 20.14 kB / 0.7608 GB, free: 18.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/1.078, allocations: 0.6547 MB / 0.7614 GB, free: 18.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.00505/1.083, allocations: 2.673 MB / 0.764 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/1.085, allocations: 0.5538 MB / 0.7645 GB, free: 17.33 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007509/1.085, allocations: 365.7 kB / 0.7649 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000617/1.086, allocations: 295.8 kB / 0.7652 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/1.086, allocations: 40.59 kB / 0.7652 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001116/1.087, allocations: 162.5 kB / 0.7654 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 3.827e-06/1.087, allocations: 0 / 0.7654 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002648/1.09, allocations: 1.061 MB / 0.7664 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/1.09, allocations: 56.03 kB / 0.7665 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/1.092, allocations: 1.272 MB / 0.7677 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.942e-05/1.093, allocations: 38.17 kB / 0.7677 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004045/1.093, allocations: 437.2 kB / 0.7682 GB, free: 16.49 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/1.093, allocations: 149.5 kB / 0.7683 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.341e-05/1.093, allocations: 35.19 kB / 0.7683 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.093, allocations: 319.9 kB / 0.7686 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/1.094, allocations: 278.4 kB / 0.7689 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008458/1.095, allocations: 498.9 kB / 0.7694 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/1.096, allocations: 0.6155 MB / 0.77 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.096, allocations: 0 / 0.77 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001928/1.098, allocations: 0.7681 MB / 0.7707 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.533e-05/1.098, allocations: 93.86 kB / 0.7708 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.098, allocations: 1.156 kB / 0.7708 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.098, allocations: 1.438 kB / 0.7708 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007208/1.099, allocations: 133.6 kB / 0.7709 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.099, allocations: 1.5 kB / 0.771 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/1.101, allocations: 128 kB / 0.7711 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.917e-05/1.101, allocations: 28.59 kB / 0.7711 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/1.101, allocations: 4.156 kB / 0.7711 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001466/1.102, allocations: 0.6251 MB / 0.7717 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-06/1.102, allocations: 0 / 0.7717 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.488e-06/1.102, allocations: 2.125 kB / 0.7717 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006474/1.103, allocations: 132.7 kB / 0.7718 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.103, allocations: 1.562 kB / 0.7718 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/1.104, allocations: 128.4 kB / 0.772 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.064e-05/1.105, allocations: 30.31 kB / 0.772 GB, free: 15.6 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.0006641/1.105, allocations: 324.4 kB / 0.7723 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/1.105, allocations: 106.7 kB / 0.7724 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/1.107, allocations: 0.8356 MB / 0.7732 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/1.107, allocations: 5.969 kB / 0.7732 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.107, allocations: 0 / 0.7732 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.107, allocations: 3 kB / 0.7732 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003457/1.111, allocations: 1.985 MB / 0.7752 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/1.111, allocations: 2.469 kB / 0.7752 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006148/1.112, allocations: 113.2 kB / 0.7753 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/1.112, allocations: 4.281 kB / 0.7753 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/1.112, allocations: 14.34 kB / 0.7753 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/1.112, allocations: 8.844 kB / 0.7753 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/1.112, allocations: 8.891 kB / 0.7753 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/1.114, allocations: 1.269 MB / 0.7766 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005925/1.115, allocations: 290.9 kB / 0.7768 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/1.115, allocations: 11.94 kB / 0.7768 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/1.116, allocations: 86.81 kB / 0.7769 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/1.116, allocations: 39.61 kB / 0.777 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/1.116, allocations: 21.84 kB / 0.777 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001672/1.118, allocations: 0.9235 MB / 0.7779 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/1.118, allocations: 0 / 0.7779 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001366/1.119, allocations: 403.1 kB / 0.7783 GB, free: 14.28 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.0005023/1.12, allocations: 216.4 kB / 0.7785 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002014/1.122, allocations: 0.976 MB / 0.7794 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.122, allocations: 0 / 0.7794 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000611/1.123, allocations: 354.9 kB / 0.7798 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/1.125, allocations: 468.2 kB / 0.7802 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/1.128, allocations: 2.079 MB / 0.7822 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/1.129, allocations: 1.042 MB / 0.7833 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004144/1.129, allocations: 99 kB / 0.7834 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of SimCode: time 6.81e-07/1.129, allocations: 0 / 0.7834 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of Templates: time 0.02762/1.157, allocations: 16.25 MB / 0.7992 GB, free: 7.117 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)