Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 105.4 kB / 15.7 MB, free: 20 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.00177/0.00177, allocations: 195.6 kB / 16.64 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.842/1.842, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 70.09 kB / 0.6723 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.321, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.8959/1.217, allocations: 198.8 MB / 0.9782 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01647/1.233, allocations: 8.657 MB / 0.9867 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00326/1.237, allocations: 46.41 kB / 0.9867 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002337/1.239, allocations: 0.6972 MB / 0.9874 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005783/1.245, allocations: 1.852 MB / 0.9892 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01017/1.255, allocations: 3.251 MB / 0.9924 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005973/1.261, allocations: 2.967 MB / 0.9953 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/1.264, allocations: 1.469 MB / 0.9967 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/1.266, allocations: 1.254 MB / 0.998 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001834/1.268, allocations: 1.153 MB / 0.9991 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002969/1.269, allocations: 192.5 kB / 0.9993 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003427/1.272, allocations: 1.507 MB / 1.001 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005839/1.273, allocations: 0.5444 MB / 1.001 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001098/1.274, allocations: 0.8634 MB / 1.002 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004226/1.278, allocations: 2.666 MB / 1.005 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/1.278, allocations: 3.984 kB / 1.005 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.854e-06/1.278, allocations: 0 / 1.005 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.374e-05/1.278, allocations: 2.406 kB / 1.005 GB, free: 2.172 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.005607/1.284, allocations: 2.177 MB / 1.007 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/1.284, allocations: 9.719 kB / 1.007 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/1.285, allocations: 235.6 kB / 1.007 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002742/1.288, allocations: 1.372 MB / 1.008 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.677e-05/1.288, allocations: 60.08 kB / 1.008 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/1.288, allocations: 83.34 kB / 1.009 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/1.29, allocations: 0.9281 MB / 1.009 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/1.29, allocations: 0 / 1.009 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/1.29, allocations: 26.28 kB / 1.009 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/1.29, allocations: 18.69 kB / 1.01 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/1.292, allocations: 0.8246 MB / 1.01 GB, free: 14.48 MB / 0.7481 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.006292/1.298, allocations: 3.491 MB / 1.014 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/1.299, allocations: 0.7686 MB / 1.014 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008562/1.3, allocations: 440.8 kB / 1.015 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005595/1.301, allocations: 294.9 kB / 1.015 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.18e-05/1.301, allocations: 41.69 kB / 1.015 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001303/1.302, allocations: 193.5 kB / 1.015 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=52): time 4.168e-06/1.302, allocations: 3.938 kB / 1.015 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=52): time 0.003011/1.305, allocations: 1.309 MB / 1.017 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/1.306, allocations: 219.1 kB / 1.017 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/1.308, allocations: 1.682 MB / 1.019 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/1.309, allocations: 43.84 kB / 1.019 GB, free: 8.832 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000572/1.309, allocations: 0.5536 MB / 1.019 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/1.309, allocations: 179.1 kB / 1.019 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003346/1.31, allocations: 166.4 kB / 1.019 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.31, allocations: 340.7 kB / 1.02 GB, free: 7.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007812/1.311, allocations: 389.9 kB / 1.02 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/1.312, allocations: 0.6948 MB / 1.021 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/1.313, allocations: 0.8207 MB / 1.022 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.313, allocations: 4 kB / 1.022 GB, free: 6.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002192/1.316, allocations: 1.044 MB / 1.023 GB, free: 6.062 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/1.316, allocations: 8.25 kB / 1.023 GB, free: 6.062 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/1.316, allocations: 2.469 kB / 1.023 GB, free: 6.062 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.316, allocations: 6.219 kB / 1.023 GB, free: 6.059 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008267/1.316, allocations: 151 kB / 1.023 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.317, allocations: 6.594 kB / 1.023 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/1.318, allocations: 119 kB / 1.023 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.541e-05/1.318, allocations: 32.86 kB / 1.023 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001185/1.32, allocations: 0.6198 MB / 1.024 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001092/1.321, allocations: 0.7015 MB / 1.024 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001556/1.322, allocations: 0.8198 MB / 1.025 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.089e-06/1.322, allocations: 3.938 kB / 1.025 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002341/1.325, allocations: 1.038 MB / 1.026 GB, free: 4.043 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.325, allocations: 12.7 kB / 1.026 GB, free: 4.035 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.325, allocations: 6.062 kB / 1.026 GB, free: 4.031 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/1.325, allocations: 2.531 kB / 1.026 GB, free: 4.031 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007696/1.325, allocations: 153.6 kB / 1.026 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/1.325, allocations: 2.781 kB / 1.026 GB, free: 3.984 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/1.327, allocations: 171.4 kB / 1.026 GB, free: 3.906 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.362e-05/1.327, allocations: 36.42 kB / 1.026 GB, free: 3.891 MB / 0.7481 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 (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003597/1.328, allocations: 222.8 kB / 1.027 GB, free: 3.68 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004558/1.328, allocations: 133.8 kB / 1.027 GB, free: 3.609 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/1.331, allocations: 1.031 MB / 1.028 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/1.331, allocations: 4.875 kB / 1.028 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.331, allocations: 0 / 1.028 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/1.331, allocations: 6.203 kB / 1.028 GB, free: 3.02 MB / 0.7481 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 postOpt removeSimpleEquations (simulation): time 0.00486/1.336, allocations: 2.477 MB / 1.03 GB, free: 0.8438 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/1.336, allocations: 0 / 1.03 GB, free: 0.8438 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000743/1.337, allocations: 127.8 kB / 1.03 GB, free: 0.7188 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/1.337, allocations: 4 kB / 1.03 GB, free: 0.7148 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.73e-05/1.337, allocations: 19.98 kB / 1.03 GB, free: 0.6953 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/1.337, allocations: 7.938 kB / 1.03 GB, free: 0.6875 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/1.337, allocations: 4 kB / 1.03 GB, free: 0.6836 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002968/1.34, allocations: 1.536 MB / 1.032 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008769/1.341, allocations: 355.1 kB / 1.032 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004398/1.341, allocations: 20 kB / 1.032 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/1.342, allocations: 83.83 kB / 1.032 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/1.343, allocations: 48.31 kB / 1.032 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.228e-05/1.343, allocations: 20 kB / 1.032 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002416/1.345, allocations: 1.211 MB / 1.034 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.81e-07/1.345, allocations: 0 / 1.034 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002337/1.347, allocations: 0.546 MB / 1.034 GB, free: 12.81 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[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 (63): * Single equations (assignments): 63 * 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.0009117/1.348, allocations: 280.5 kB / 1.034 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003536/1.352, allocations: 1.423 MB / 1.036 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.352, allocations: 4 kB / 1.036 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/1.353, allocations: 426.7 kB / 1.036 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003704/1.357, allocations: 0.5436 MB / 1.037 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/1.361, allocations: 2.185 MB / 1.039 GB, free: 7.895 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/1.362, allocations: 1.169 MB / 1.04 GB, free: 6.695 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002472/1.365, allocations: 381.6 kB / 1.04 GB, free: 6.32 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007014/1.365, allocations: 135.3 kB / 1.04 GB, free: 6.188 MB / 0.7637 GB Notification: Performance of SimCode: time 1.182e-06/1.365, allocations: 0 / 1.04 GB, free: 6.188 MB / 0.7637 GB Notification: Performance of Templates: time 0.05363/1.419, allocations: 29.02 MB / 1.069 GB, free: 9.547 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)