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.001688/0.001688, allocations: 107.3 kB / 15.99 MB, free: 5.906 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.001958/0.001958, allocations: 189.6 kB / 16.9 MB, free: 5.758 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.755/0.755, allocations: 122.9 MB / 413.6 MB, free: 8 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 63.91 kB / 0.4906 GB, free: 7.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3684, allocations: 77.91 MB / 0.5667 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6498/1.018, allocations: 187.2 MB / 0.7495 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006829/1.025, allocations: 4.257 MB / 0.7536 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/1.026, allocations: 26.34 kB / 0.7537 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/1.027, allocations: 437.8 kB / 0.7541 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003734/1.031, allocations: 1.47 MB / 0.7555 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003542/1.035, allocations: 1.237 MB / 0.7567 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003784/1.039, allocations: 2.263 MB / 0.7589 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/1.04, allocations: 1.05 MB / 0.76 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/1.042, allocations: 0.9722 MB / 0.7609 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/1.044, allocations: 0.8917 MB / 0.7618 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003147/1.044, allocations: 140.2 kB / 0.7619 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00304/1.047, allocations: 1.282 MB / 0.7632 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004787/1.048, allocations: 424.2 kB / 0.7636 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008423/1.048, allocations: 0.6415 MB / 0.7642 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003594/1.052, allocations: 2.035 MB / 0.7662 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/1.052, allocations: 4.438 kB / 0.7662 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.174e-06/1.052, allocations: 0.875 kB / 0.7662 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.016e-05/1.052, allocations: 0 / 0.7662 GB, free: 1.496 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.005152/1.057, allocations: 1.726 MB / 0.7679 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/1.057, allocations: 10.81 kB / 0.7679 GB, free: 16.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/1.059, allocations: 181.8 kB / 0.7681 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/1.061, allocations: 1.038 MB / 0.7691 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/1.061, allocations: 52.89 kB / 0.7691 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/1.061, allocations: 62.92 kB / 0.7692 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/1.063, allocations: 0.6129 MB / 0.7698 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/1.063, allocations: 7.922 kB / 0.7698 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.851e-05/1.063, allocations: 21.94 kB / 0.7698 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/1.063, allocations: 23.69 kB / 0.7698 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/1.064, allocations: 0.621 MB / 0.7704 GB, free: 16.21 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.004994/1.069, allocations: 2.654 MB / 0.773 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/1.071, allocations: 0.5423 MB / 0.7736 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005546/1.071, allocations: 351.1 kB / 0.7739 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003957/1.072, allocations: 290.2 kB / 0.7742 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/1.072, allocations: 43.39 kB / 0.7742 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000806/1.072, allocations: 158 kB / 0.7744 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.805e-06/1.072, allocations: 0.875 kB / 0.7744 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.002221/1.075, allocations: 1.02 MB / 0.7754 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/1.075, allocations: 54.81 kB / 0.7754 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/1.076, allocations: 1.272 MB / 0.7767 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.101e-05/1.077, allocations: 42.86 kB / 0.7767 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/1.077, allocations: 443.6 kB / 0.7771 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/1.077, allocations: 143.8 kB / 0.7773 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/1.077, allocations: 120.2 kB / 0.7774 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.077, allocations: 323.8 kB / 0.7777 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005274/1.078, allocations: 274.6 kB / 0.7779 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007172/1.079, allocations: 491.6 kB / 0.7784 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/1.08, allocations: 0.58 MB / 0.779 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.08, allocations: 0 / 0.779 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001452/1.081, allocations: 0.7413 MB / 0.7797 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/1.081, allocations: 6.547 kB / 0.7797 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.081, allocations: 0.8125 kB / 0.7797 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.081, allocations: 2.812 kB / 0.7797 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/1.082, allocations: 117.4 kB / 0.7798 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.082, allocations: 3.438 kB / 0.7798 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/1.083, allocations: 110.5 kB / 0.7799 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-05/1.083, allocations: 25.8 kB / 0.78 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007742/1.084, allocations: 467.2 kB / 0.7804 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007041/1.085, allocations: 494.2 kB / 0.7809 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001045/1.086, allocations: 0.5847 MB / 0.7814 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/1.086, allocations: 4.844 kB / 0.7814 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001464/1.088, allocations: 0.7307 MB / 0.7822 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/1.088, allocations: 5.688 kB / 0.7822 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/1.088, allocations: 1.172 kB / 0.7822 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/1.088, allocations: 3.469 kB / 0.7822 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/1.088, allocations: 123.9 kB / 0.7823 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/1.088, allocations: 2.438 kB / 0.7823 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/1.09, allocations: 132.3 kB / 0.7824 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/1.09, allocations: 29.61 kB / 0.7824 GB, free: 13.41 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.0002218/1.09, allocations: 206.6 kB / 0.7826 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/1.09, allocations: 105.2 kB / 0.7827 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/1.092, allocations: 0.808 MB / 0.7835 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/1.092, allocations: 5.281 kB / 0.7835 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.092, allocations: 0.875 kB / 0.7835 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/1.092, allocations: 2.906 kB / 0.7835 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/1.095, allocations: 1.949 MB / 0.7854 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/1.095, allocations: 12.39 kB / 0.7855 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005581/1.095, allocations: 108.5 kB / 0.7856 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/1.095, allocations: 7.875 kB / 0.7856 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-05/1.095, allocations: 16.27 kB / 0.7856 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/1.095, allocations: 5.531 kB / 0.7856 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.095, allocations: 2.594 kB / 0.7856 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/1.097, allocations: 1.23 MB / 0.7868 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004309/1.098, allocations: 295.3 kB / 0.7871 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/1.098, allocations: 12.86 kB / 0.7871 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/1.099, allocations: 74.72 kB / 0.7872 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/1.099, allocations: 44.36 kB / 0.7872 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/1.099, allocations: 21.19 kB / 0.7872 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001391/1.101, allocations: 0.9246 MB / 0.7881 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.101, allocations: 0 / 0.7881 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001217/1.102, allocations: 406.2 kB / 0.7885 GB, free: 12.14 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.0005018/1.103, allocations: 212.8 kB / 0.7887 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001982/1.105, allocations: 1 MB / 0.7897 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.105, allocations: 4.203 kB / 0.7897 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005782/1.105, allocations: 340.6 kB / 0.79 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/1.107, allocations: 433 kB / 0.7904 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/1.11, allocations: 1.996 MB / 0.7924 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/1.11, allocations: 1.048 MB / 0.7934 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001171/1.111, allocations: 291.8 kB / 0.7937 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/1.112, allocations: 96.69 kB / 0.7938 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/1.112, allocations: 0 / 0.7938 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of Templates: time 0.03699/1.149, allocations: 21.06 MB / 0.8143 GB, free: 0.6758 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)