Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0008595/0.0008594, allocations: 92 kB / 15.06 MB, free: 1.098 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.000885/0.000885, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8489/0.8489, allocations: 143.2 MB / 434.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.0002679, allocations: 12 kB / 0.5158 GB, free: 11.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1235, allocations: 83.42 MB / 0.5972 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.3634/0.487, allocations: 172.6 MB / 0.7658 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005996/0.493, allocations: 4.08 MB / 0.7698 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007559/0.4938, allocations: 23.81 kB / 0.7698 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008644/0.4947, allocations: 329.8 kB / 0.7701 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.497, allocations: 1.137 MB / 0.7712 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.4992, allocations: 1.016 MB / 0.7722 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002046/0.5013, allocations: 2.39 MB / 0.7746 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009203/0.5022, allocations: 0.8521 MB / 0.7754 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008829/0.5031, allocations: 0.8132 MB / 0.7762 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008069/0.5039, allocations: 0.7782 MB / 0.777 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.5041, allocations: 60 kB / 0.777 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.5053, allocations: 0.8029 MB / 0.7778 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.5056, allocations: 330.8 kB / 0.7781 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.5058, allocations: 217.1 kB / 0.7783 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.5071, allocations: 1.551 MB / 0.7798 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5071, allocations: 4 kB / 0.7798 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5071, allocations: 0 / 0.7798 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.5071, allocations: 3.938 kB / 0.7798 GB, free: 1.523 MB / 0.5919 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.003085/0.5102, allocations: 1.506 MB / 0.7813 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.5102, allocations: 12.03 kB / 0.7813 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006501/0.5109, allocations: 183 kB / 0.7815 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.5123, allocations: 1.011 MB / 0.7825 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.5124, allocations: 52.98 kB / 0.7825 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.787e-05/0.5125, allocations: 56 kB / 0.7826 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.5136, allocations: 0.6232 MB / 0.7832 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.5136, allocations: 4.688 kB / 0.7832 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.664e-05/0.5137, allocations: 20 kB / 0.7832 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.5137, allocations: 17 kB / 0.7832 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.5148, allocations: 0.6441 MB / 0.7839 GB, free: 13.29 MB / 0.6075 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.003353/0.5182, allocations: 2.678 MB / 0.7865 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009531/0.5192, allocations: 0.5529 MB / 0.787 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.5197, allocations: 362 kB / 0.7874 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/0.52, allocations: 287.3 kB / 0.7876 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.5201, allocations: 42.56 kB / 0.7877 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005584/0.5206, allocations: 160.4 kB / 0.7878 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 1.593e-06/0.5206, allocations: 4 kB / 0.7878 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.001978/0.5226, allocations: 1.05 MB / 0.7889 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.5227, allocations: 67.33 kB / 0.7889 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.5243, allocations: 1.259 MB / 0.7902 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.5244, allocations: 41.7 kB / 0.7902 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.5247, allocations: 433.7 kB / 0.7906 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.5248, allocations: 149.8 kB / 0.7908 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.5249, allocations: 12 kB / 0.7908 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.521e-05/0.525, allocations: 318 kB / 0.7911 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004936/0.5255, allocations: 272.6 kB / 0.7913 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/0.5261, allocations: 485.4 kB / 0.7918 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000546/0.5267, allocations: 335.6 kB / 0.7921 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5267, allocations: 0 / 0.7921 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001248/0.528, allocations: 0.7496 MB / 0.7928 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/0.528, allocations: 99.44 kB / 0.7929 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.528, allocations: 0 / 0.7929 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.5281, allocations: 4 kB / 0.7929 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/0.5286, allocations: 119.8 kB / 0.7931 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.5287, allocations: 7.938 kB / 0.7931 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000992/0.5297, allocations: 127.1 kB / 0.7932 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.5297, allocations: 23.98 kB / 0.7932 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.979e-06/0.5297, allocations: 1.562 kB / 0.7932 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/0.5309, allocations: 0.6361 MB / 0.7938 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.5309, allocations: 0 / 0.7938 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-06/0.5309, allocations: 7.938 kB / 0.7938 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.5314, allocations: 127.8 kB / 0.794 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.726e-06/0.5314, allocations: 4 kB / 0.794 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009326/0.5324, allocations: 128.1 kB / 0.7941 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.5324, allocations: 23.97 kB / 0.7941 GB, free: 2.457 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000326/0.5328, allocations: 325 kB / 0.7944 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.5329, allocations: 102.8 kB / 0.7945 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/0.5345, allocations: 0.8304 MB / 0.7953 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.5345, allocations: 4 kB / 0.7953 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5345, allocations: 3.984 kB / 0.7953 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.5345, allocations: 3.953 kB / 0.7953 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.5371, allocations: 1.972 MB / 0.7973 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.5372, allocations: 4.281 kB / 0.7973 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.5377, allocations: 111.9 kB / 0.7974 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.5377, allocations: 4 kB / 0.7974 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/0.5377, allocations: 23.92 kB / 0.7974 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.5377, allocations: 7.938 kB / 0.7974 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5377, allocations: 4 kB / 0.7974 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.5396, allocations: 1.264 MB / 0.7986 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.5399, allocations: 295.6 kB / 0.7989 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.5401, allocations: 17 kB / 0.7989 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008068/0.5409, allocations: 83.81 kB / 0.799 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/0.541, allocations: 35.95 kB / 0.7991 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/0.541, allocations: 19.98 kB / 0.7991 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001208/0.5422, allocations: 0.9168 MB / 0.8 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.372e-06/0.5422, allocations: 0 / 0.8 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009368/0.5432, allocations: 411.3 kB / 0.8004 GB, free: 11.88 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003746/0.5436, allocations: 224.4 kB / 0.8006 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001655/0.5452, allocations: 0.964 MB / 0.8015 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5452, allocations: 0 / 0.8015 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005567/0.5458, allocations: 348.1 kB / 0.8019 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.5477, allocations: 475.8 kB / 0.8023 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.5499, allocations: 1.936 MB / 0.8042 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.5504, allocations: 1.038 MB / 0.8052 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009503/0.5514, allocations: 295.2 kB / 0.8055 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.5517, allocations: 95.39 kB / 0.8056 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.5517, allocations: 0 / 0.8056 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of Templates: time 0.02611/0.5778, allocations: 19.85 MB / 0.825 GB, free: 2.91 MB / 0.6387 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)