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/BuildSysPro 3.4.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6964/0.6964, allocations: 117.9 MB / 133.9 MB, free: 4.5 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009626/0.0009626, allocations: 189 kB / 161.7 MB, free: 2.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.4 MB / 394.8 MB, free: 20.9 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008249/0.000825, allocations: 92.64 kB / 470.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003962, allocations: 16 kB / 0.5423 GB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.363, allocations: 74.53 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.085/5.448, allocations: 2.157 GB / 2.772 GB, free: 221.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/5.448, allocations: 100.9 kB / 2.772 GB, free: 221.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.799/7.247, allocations: 0.598 GB / 3.37 GB, free: 103.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/7.247, allocations: 3.172 kB / 3.37 GB, free: 103.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002006/7.247, allocations: 27.25 kB / 3.37 GB, free: 103.8 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.004429/7.252, allocations: 1.569 MB / 3.372 GB, free: 102.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/7.252, allocations: 11.97 kB / 3.372 GB, free: 102.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/7.255, allocations: 253.4 kB / 3.372 GB, free: 102 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002796/7.257, allocations: 0.9034 MB / 3.373 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.22e-05/7.257, allocations: 43.72 kB / 3.373 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002562/7.258, allocations: 64.03 kB / 3.373 GB, free: 101 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/7.26, allocations: 0.8658 MB / 3.374 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/7.26, allocations: 3.938 kB / 3.374 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/7.26, allocations: 16 kB / 3.374 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/7.26, allocations: 12 kB / 3.374 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/7.262, allocations: 0.8155 MB / 3.375 GB, free: 99.29 MB / 0.6355 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.004893/7.267, allocations: 2.519 MB / 3.377 GB, free: 96.67 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/7.269, allocations: 0.7594 MB / 3.378 GB, free: 95.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/7.27, allocations: 360.5 kB / 3.378 GB, free: 95.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003408/7.27, allocations: 295.2 kB / 3.379 GB, free: 95.22 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/7.27, allocations: 46.39 kB / 3.379 GB, free: 95.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00123/7.271, allocations: 230 kB / 3.379 GB, free: 94.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=43): time 6.412e-06/7.272, allocations: 0 / 3.379 GB, free: 94.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=43): time 0.004363/7.276, allocations: 1.351 MB / 3.38 GB, free: 93.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/7.276, allocations: 140.5 kB / 3.38 GB, free: 93.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/7.278, allocations: 1.001 MB / 3.381 GB, free: 92.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001752/7.278, allocations: 37.7 kB / 3.381 GB, free: 92.35 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/7.279, allocations: 432.9 kB / 3.382 GB, free: 91.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/7.279, allocations: 140.3 kB / 3.382 GB, free: 91.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/7.279, allocations: 16 kB / 3.382 GB, free: 91.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.62e-05/7.279, allocations: 325.9 kB / 3.382 GB, free: 91.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008331/7.28, allocations: 360.8 kB / 3.382 GB, free: 91.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009304/7.281, allocations: 0.5439 MB / 3.383 GB, free: 90.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/7.282, allocations: 0.7625 MB / 3.384 GB, free: 89.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/7.282, allocations: 0 / 3.384 GB, free: 89.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002055/7.284, allocations: 0.9537 MB / 3.385 GB, free: 88.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/7.284, allocations: 96.88 kB / 3.385 GB, free: 88.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/7.284, allocations: 3.984 kB / 3.385 GB, free: 88.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/7.284, allocations: 4 kB / 3.385 GB, free: 88.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/7.285, allocations: 155.8 kB / 3.385 GB, free: 88.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/7.285, allocations: 4 kB / 3.385 GB, free: 88.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/7.287, allocations: 99.89 kB / 3.385 GB, free: 88.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/7.287, allocations: 31.97 kB / 3.385 GB, free: 88.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/7.287, allocations: 4 kB / 3.385 GB, free: 88.37 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001287/7.288, allocations: 0.7189 MB / 3.386 GB, free: 87.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/7.288, allocations: 0 / 3.386 GB, free: 87.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/7.288, allocations: 4 kB / 3.386 GB, free: 87.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/7.289, allocations: 131.8 kB / 3.386 GB, free: 87.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/7.289, allocations: 8 kB / 3.386 GB, free: 87.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/7.29, allocations: 83.77 kB / 3.386 GB, free: 87.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.026e-05/7.29, allocations: 31.97 kB / 3.386 GB, free: 87.39 MB / 0.6355 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 (53): * Single equations (assignments): 51 * 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.0005362/7.29, allocations: 325.2 kB / 3.386 GB, free: 87.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/7.291, allocations: 102.7 kB / 3.386 GB, free: 86.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/7.293, allocations: 0.9506 MB / 3.387 GB, free: 86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/7.293, allocations: 8 kB / 3.387 GB, free: 86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/7.293, allocations: 0 / 3.387 GB, free: 86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/7.293, allocations: 3.984 kB / 3.387 GB, free: 85.99 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003472/7.296, allocations: 2.032 MB / 3.389 GB, free: 83.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/7.296, allocations: 0 / 3.389 GB, free: 83.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000702/7.297, allocations: 144.1 kB / 3.389 GB, free: 83.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/7.297, allocations: 7.938 kB / 3.389 GB, free: 83.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-05/7.297, allocations: 12 kB / 3.389 GB, free: 83.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/7.297, allocations: 15.86 kB / 3.39 GB, free: 83.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/7.297, allocations: 4 kB / 3.39 GB, free: 83.71 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/7.3, allocations: 1.452 MB / 3.391 GB, free: 82.22 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004282/7.3, allocations: 203.8 kB / 3.391 GB, free: 82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/7.3, allocations: 16 kB / 3.391 GB, free: 81.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009773/7.301, allocations: 91.83 kB / 3.391 GB, free: 81.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/7.301, allocations: 39.94 kB / 3.391 GB, free: 81.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/7.301, allocations: 23.98 kB / 3.391 GB, free: 81.83 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00101/7.303, allocations: 0.704 MB / 3.392 GB, free: 81.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/7.303, allocations: 0 / 3.392 GB, free: 81.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002278/7.305, allocations: 0.5645 MB / 3.393 GB, free: 80.55 MB / 0.6355 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.002474/7.307, allocations: 1.701 MB / 3.394 GB, free: 79.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002481/7.31, allocations: 1.214 MB / 3.395 GB, free: 77.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/7.31, allocations: 4 kB / 3.395 GB, free: 77.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007604/7.311, allocations: 408.1 kB / 3.396 GB, free: 77.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/7.313, allocations: 458.7 kB / 3.396 GB, free: 76.99 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/7.318, allocations: 2.323 MB / 3.398 GB, free: 74.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/7.318, allocations: 1.03 MB / 3.399 GB, free: 73.55 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001342/7.32, allocations: 257.8 kB / 3.4 GB, free: 73.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/7.32, allocations: 95.38 kB / 3.4 GB, free: 73.21 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/7.32, allocations: 0 / 3.4 GB, free: 73.21 MB / 0.6355 GB Notification: Performance of Templates: time 0.04679/7.367, allocations: 38.98 MB / 3.438 GB, free: 34.52 MB / 0.6355 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)