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.5.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.5.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6988/0.6988, allocations: 127.3 MB / 139.8 MB, free: 15.49 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001458/0.001458, allocations: 180.8 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.1 MB / 404.5 MB, free: 1.613 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.001051/0.001051, allocations: 87.83 kB / 481.8 MB, free: 4.254 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.557e-05, allocations: 0 / 0.5532 GB, free: 54.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1716, allocations: 76.76 MB / 0.6282 GB, free: 10.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.906/6.078, allocations: 2.158 GB / 2.786 GB, free: 168.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/6.078, allocations: 99.41 kB / 2.786 GB, free: 168.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.082/8.16, allocations: 0.5987 GB / 3.385 GB, free: 59.85 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.134e-06/8.16, allocations: 4 kB / 3.385 GB, free: 59.85 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001102/8.16, allocations: 31.98 kB / 3.385 GB, free: 59.82 MB / 0.6511 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.003401/8.164, allocations: 1.262 MB / 3.386 GB, free: 58.51 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/8.164, allocations: 11.31 kB / 3.386 GB, free: 58.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/8.166, allocations: 262.3 kB / 3.386 GB, free: 58.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/8.169, allocations: 0.8549 MB / 3.387 GB, free: 57.34 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.377e-05/8.169, allocations: 45 kB / 3.387 GB, free: 57.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/8.169, allocations: 59.94 kB / 3.387 GB, free: 57.24 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/8.171, allocations: 0.7621 MB / 3.388 GB, free: 56.46 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/8.171, allocations: 4 kB / 3.388 GB, free: 56.46 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.191e-05/8.171, allocations: 22.84 kB / 3.388 GB, free: 56.44 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/8.171, allocations: 8 kB / 3.388 GB, free: 56.43 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/8.173, allocations: 0.6794 MB / 3.389 GB, free: 55.75 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.005035/8.178, allocations: 2.535 MB / 3.391 GB, free: 53.08 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/8.179, allocations: 0.6534 MB / 3.392 GB, free: 52.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/8.18, allocations: 312.7 kB / 3.392 GB, free: 52.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003833/8.18, allocations: 287.8 kB / 3.392 GB, free: 51.77 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/8.18, allocations: 38.56 kB / 3.392 GB, free: 51.72 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001016/8.181, allocations: 231.3 kB / 3.393 GB, free: 51.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 3.106e-06/8.181, allocations: 0 / 3.393 GB, free: 51.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.00255/8.184, allocations: 0.9144 MB / 3.394 GB, free: 50.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/8.184, allocations: 132.5 kB / 3.394 GB, free: 50.41 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/8.185, allocations: 0.8798 MB / 3.395 GB, free: 49.51 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/8.185, allocations: 37.7 kB / 3.395 GB, free: 49.47 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/8.185, allocations: 426 kB / 3.395 GB, free: 49.05 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/8.185, allocations: 149.8 kB / 3.395 GB, free: 48.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/8.185, allocations: 4 kB / 3.395 GB, free: 48.89 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.265e-05/8.185, allocations: 337.9 kB / 3.395 GB, free: 48.56 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/8.186, allocations: 273 kB / 3.396 GB, free: 48.29 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/8.186, allocations: 469 kB / 3.396 GB, free: 47.77 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/8.187, allocations: 320.8 kB / 3.396 GB, free: 47.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/8.187, allocations: 0 / 3.396 GB, free: 47.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001106/8.188, allocations: 0.7743 MB / 3.397 GB, free: 46.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/8.188, allocations: 91.53 kB / 3.397 GB, free: 46.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/8.188, allocations: 4 kB / 3.397 GB, free: 46.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/8.188, allocations: 4 kB / 3.397 GB, free: 46.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/8.189, allocations: 159.8 kB / 3.397 GB, free: 46.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/8.189, allocations: 3.953 kB / 3.397 GB, free: 46.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/8.19, allocations: 108 kB / 3.398 GB, free: 46.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/8.19, allocations: 35.95 kB / 3.398 GB, free: 46.27 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/8.19, allocations: 8 kB / 3.398 GB, free: 46.26 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009048/8.191, allocations: 0.6097 MB / 3.398 GB, free: 45.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/8.191, allocations: 4 kB / 3.398 GB, free: 45.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-06/8.191, allocations: 0 / 3.398 GB, free: 45.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/8.192, allocations: 131.8 kB / 3.398 GB, free: 45.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/8.192, allocations: 4 kB / 3.398 GB, free: 45.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008743/8.192, allocations: 80.06 kB / 3.398 GB, free: 45.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.657e-05/8.193, allocations: 43.89 kB / 3.398 GB, free: 45.39 MB / 0.6511 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 () * 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.0001659/8.193, allocations: 133.1 kB / 3.399 GB, free: 45.26 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/8.193, allocations: 98.73 kB / 3.399 GB, free: 45.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/8.194, allocations: 0.7787 MB / 3.399 GB, free: 44.37 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/8.194, allocations: 4 kB / 3.399 GB, free: 44.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/8.194, allocations: 0 / 3.399 GB, free: 44.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/8.194, allocations: 3.984 kB / 3.399 GB, free: 44.36 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/8.197, allocations: 1.84 MB / 3.401 GB, free: 42.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/8.197, allocations: 4 kB / 3.401 GB, free: 42.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006935/8.198, allocations: 144 kB / 3.401 GB, free: 42.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/8.198, allocations: 4 kB / 3.401 GB, free: 42.29 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.617e-05/8.198, allocations: 15.98 kB / 3.401 GB, free: 42.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/8.198, allocations: 11.94 kB / 3.401 GB, free: 42.26 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/8.198, allocations: 4 kB / 3.401 GB, free: 42.26 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/8.199, allocations: 1.309 MB / 3.403 GB, free: 40.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/8.199, allocations: 203.8 kB / 3.403 GB, free: 40.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/8.199, allocations: 12.06 kB / 3.403 GB, free: 40.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008414/8.2, allocations: 83.92 kB / 3.403 GB, free: 40.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/8.2, allocations: 51.83 kB / 3.403 GB, free: 40.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/8.201, allocations: 23.98 kB / 3.403 GB, free: 40.47 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008294/8.201, allocations: 0.6889 MB / 3.404 GB, free: 39.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/8.201, allocations: 0 / 3.404 GB, free: 39.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001851/8.203, allocations: 0.5658 MB / 3.404 GB, free: 39.2 MB / 0.6511 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 () * 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.002186/8.205, allocations: 1.702 MB / 3.406 GB, free: 37.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001518/8.207, allocations: 1.03 MB / 3.407 GB, free: 36.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/8.207, allocations: 0 / 3.407 GB, free: 36.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004048/8.207, allocations: 319.6 kB / 3.407 GB, free: 36.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/8.21, allocations: 443.7 kB / 3.408 GB, free: 35.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/8.214, allocations: 1.645 MB / 3.409 GB, free: 33.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/8.215, allocations: 1.051 MB / 3.41 GB, free: 32.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002007/8.217, allocations: 374.3 kB / 3.411 GB, free: 32.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/8.217, allocations: 75.39 kB / 3.411 GB, free: 32.42 MB / 0.6511 GB Notification: Performance of SimCode: time 1.312e-06/8.217, allocations: 0 / 3.411 GB, free: 32.42 MB / 0.6511 GB Notification: Performance of Templates: time 0.5102/8.727, allocations: 44.55 MB / 3.454 GB, free: 106.4 MB / 0.6511 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)