Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.737/2.737, allocations: 287.5 MB / 302.4 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.001409, allocations: 184.9 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.199/2.199, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009366/0.0009363, allocations: 91.66 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007929/0.0007931, allocations: 14.75 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2341, allocations: 115.3 MB / 0.9784 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.9283/1.162, allocations: 172.8 MB / 1.147 GB, free: 11 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01908/1.182, allocations: 7.147 MB / 1.154 GB, free: 8.145 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/1.184, allocations: 29.28 kB / 1.154 GB, free: 8.129 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/1.186, allocations: 368.6 kB / 1.154 GB, free: 7.918 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00534/1.191, allocations: 1.135 MB / 1.156 GB, free: 7.051 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01017/1.201, allocations: 2.03 MB / 1.158 GB, free: 5.746 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00534/1.207, allocations: 2.43 MB / 1.16 GB, free: 4.277 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002375/1.209, allocations: 0.8626 MB / 1.161 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002765/1.212, allocations: 0.8121 MB / 1.162 GB, free: 3.293 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/1.214, allocations: 0.7841 MB / 1.162 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000476/1.215, allocations: 57.47 kB / 1.162 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004143/1.219, allocations: 0.9181 MB / 1.163 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/1.22, allocations: 331.9 kB / 1.164 GB, free: 2.102 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006907/1.221, allocations: 229.4 kB / 1.164 GB, free: 1.961 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003763/1.225, allocations: 1.556 MB / 1.165 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.225, allocations: 0 / 1.165 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.026e-06/1.225, allocations: 0 / 1.165 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.268e-05/1.225, allocations: 0 / 1.165 GB, free: 0.8828 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.007422/1.232, allocations: 1.541 MB / 1.167 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/1.232, allocations: 9.844 kB / 1.167 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001715/1.234, allocations: 189.4 kB / 1.167 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003531/1.238, allocations: 1.015 MB / 1.168 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/1.238, allocations: 54.52 kB / 1.168 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/1.238, allocations: 59.06 kB / 1.168 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/1.24, allocations: 0.7016 MB / 1.169 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/1.24, allocations: 0 / 1.169 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/1.241, allocations: 20.53 kB / 1.169 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/1.241, allocations: 15.47 kB / 1.169 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/1.243, allocations: 0.6369 MB / 1.169 GB, free: 14.11 MB / 0.7136 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.008547/1.252, allocations: 2.687 MB / 1.172 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/1.254, allocations: 0.5642 MB / 1.173 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/1.255, allocations: 360.9 kB / 1.173 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006016/1.256, allocations: 293.8 kB / 1.173 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/1.256, allocations: 41.42 kB / 1.173 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00174/1.257, allocations: 168.6 kB / 1.173 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.266e-06/1.257, allocations: 0 / 1.173 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.004331/1.262, allocations: 1.063 MB / 1.174 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/1.262, allocations: 142.3 kB / 1.175 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/1.265, allocations: 1.275 MB / 1.176 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002599/1.266, allocations: 39.64 kB / 1.176 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006175/1.266, allocations: 455 kB / 1.176 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/1.266, allocations: 146.6 kB / 1.176 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-05/1.267, allocations: 10.59 kB / 1.177 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.267, allocations: 319.2 kB / 1.177 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/1.268, allocations: 292.8 kB / 1.177 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/1.269, allocations: 0.5172 MB / 1.178 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/1.27, allocations: 345.5 kB / 1.178 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.27, allocations: 0 / 1.178 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002998/1.273, allocations: 0.7993 MB / 1.179 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.585e-05/1.274, allocations: 90.3 kB / 1.179 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/1.274, allocations: 7.156 kB / 1.179 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/1.274, allocations: 0 / 1.179 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/1.275, allocations: 123.2 kB / 1.179 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/1.275, allocations: 0 / 1.179 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/1.278, allocations: 132 kB / 1.179 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002616/1.278, allocations: 22 kB / 1.179 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.278, allocations: 9.875 kB / 1.179 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002536/1.281, allocations: 0.664 MB / 1.18 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/1.281, allocations: 0 / 1.18 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.281, allocations: 10.89 kB / 1.18 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/1.282, allocations: 124.8 kB / 1.18 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/1.282, allocations: 3.938 kB / 1.18 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/1.285, allocations: 128.7 kB / 1.18 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/1.285, allocations: 25.28 kB / 1.18 GB, free: 7.094 MB / 0.7136 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0007691/1.286, allocations: 330.7 kB / 1.18 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003447/1.286, allocations: 103.9 kB / 1.18 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002979/1.289, allocations: 0.8293 MB / 1.181 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/1.289, allocations: 8.641 kB / 1.181 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.289, allocations: 0 / 1.181 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/1.289, allocations: 3.984 kB / 1.181 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005436/1.294, allocations: 1.973 MB / 1.183 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/1.294, allocations: 6.922 kB / 1.183 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/1.296, allocations: 112.6 kB / 1.183 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/1.296, allocations: 5.688 kB / 1.183 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/1.296, allocations: 21.42 kB / 1.183 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.198e-06/1.296, allocations: 5.75 kB / 1.183 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/1.296, allocations: 9.75 kB / 1.183 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003847/1.3, allocations: 1.272 MB / 1.185 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009357/1.301, allocations: 292.8 kB / 1.185 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/1.301, allocations: 12.58 kB / 1.185 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/1.303, allocations: 81.66 kB / 1.185 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/1.303, allocations: 51.03 kB / 1.185 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.052e-05/1.303, allocations: 21.02 kB / 1.185 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002322/1.305, allocations: 0.9159 MB / 1.186 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.305, allocations: 0 / 1.186 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002139/1.308, allocations: 448.2 kB / 1.186 GB, free: 3.191 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.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 (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.0008617/1.308, allocations: 261.2 kB / 1.187 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003673/1.312, allocations: 1.063 MB / 1.188 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.312, allocations: 4 kB / 1.188 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/1.313, allocations: 354.6 kB / 1.188 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004708/1.318, allocations: 477 kB / 1.188 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/1.322, allocations: 1.973 MB / 1.19 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008669/1.323, allocations: 1.055 MB / 1.191 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002273/1.326, allocations: 295.9 kB / 1.192 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005837/1.326, allocations: 106.6 kB / 1.192 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of SimCode: time 1.703e-06/1.326, allocations: 0 / 1.192 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of Templates: time 0.05953/1.386, allocations: 21.15 MB / 1.212 GB, free: 11.92 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)