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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7215/0.7215, allocations: 128.7 MB / 143.7 MB, free: 2.195 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.001027/0.001027, allocations: 174.2 kB / 173.7 MB, free: 6.016 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.4 MB / 409 MB, free: 10.48 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.001078/0.001078, allocations: 85.91 kB / 486.5 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003544, allocations: 12.16 kB / 0.5604 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1698, allocations: 76.78 MB / 0.6354 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.377/5.547, allocations: 2.158 GB / 2.793 GB, free: 153.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/5.547, allocations: 101 kB / 2.793 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.775/7.323, allocations: 0.5993 GB / 3.393 GB, free: 54.89 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.432e-06/7.323, allocations: 0 / 3.393 GB, free: 54.89 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.402e-05/7.323, allocations: 27.98 kB / 3.393 GB, free: 54.86 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.004067/7.327, allocations: 1.585 MB / 3.394 GB, free: 53.22 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/7.327, allocations: 8.031 kB / 3.394 GB, free: 53.21 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/7.327, allocations: 90.52 kB / 3.394 GB, free: 53.12 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002638/7.33, allocations: 254.4 kB / 3.395 GB, free: 52.87 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/7.331, allocations: 0.8665 MB / 3.396 GB, free: 51.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/7.331, allocations: 41 kB / 3.396 GB, free: 51.92 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.311e-05/7.331, allocations: 63.91 kB / 3.396 GB, free: 51.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/7.333, allocations: 0.8634 MB / 3.396 GB, free: 50.96 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/7.334, allocations: 0 / 3.396 GB, free: 50.96 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.665e-05/7.334, allocations: 16 kB / 3.396 GB, free: 50.95 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/7.334, allocations: 12 kB / 3.396 GB, free: 50.94 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/7.336, allocations: 0.8158 MB / 3.397 GB, free: 50.12 MB / 0.6511 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.004161/7.34, allocations: 2.52 MB / 3.4 GB, free: 47.46 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/7.342, allocations: 0.7626 MB / 3.4 GB, free: 46.69 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004003/7.342, allocations: 287.8 kB / 3.401 GB, free: 46.35 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/7.342, allocations: 38.56 kB / 3.401 GB, free: 46.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001091/7.343, allocations: 223.4 kB / 3.401 GB, free: 46.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=43): time 2.745e-06/7.343, allocations: 0 / 3.401 GB, free: 46.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43): time 0.003907/7.347, allocations: 1.359 MB / 3.402 GB, free: 44.72 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/7.347, allocations: 132.5 kB / 3.402 GB, free: 44.56 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/7.349, allocations: 0.8948 MB / 3.403 GB, free: 43.64 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.344e-05/7.349, allocations: 45.69 kB / 3.403 GB, free: 43.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/7.349, allocations: 425.9 kB / 3.404 GB, free: 43.17 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/7.349, allocations: 149.8 kB / 3.404 GB, free: 43.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/7.349, allocations: 12 kB / 3.404 GB, free: 43.01 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.709e-05/7.349, allocations: 325.9 kB / 3.404 GB, free: 42.69 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007408/7.35, allocations: 364.8 kB / 3.405 GB, free: 42.33 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008432/7.351, allocations: 0.5399 MB / 3.405 GB, free: 41.73 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007968/7.352, allocations: 413.1 kB / 3.406 GB, free: 41.33 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/7.352, allocations: 0 / 3.406 GB, free: 41.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001949/7.354, allocations: 0.9499 MB / 3.406 GB, free: 40.37 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/7.354, allocations: 91.64 kB / 3.407 GB, free: 40.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/7.354, allocations: 3.938 kB / 3.407 GB, free: 40.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/7.354, allocations: 7.984 kB / 3.407 GB, free: 40.26 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008798/7.355, allocations: 163.8 kB / 3.407 GB, free: 40.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/7.355, allocations: 7.938 kB / 3.407 GB, free: 40.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/7.356, allocations: 104.1 kB / 3.407 GB, free: 39.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.414e-05/7.356, allocations: 31.97 kB / 3.407 GB, free: 39.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/7.356, allocations: 5.562 kB / 3.407 GB, free: 39.96 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/7.357, allocations: 0.7112 MB / 3.408 GB, free: 39.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/7.357, allocations: 0 / 3.408 GB, free: 39.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-06/7.357, allocations: 4 kB / 3.408 GB, free: 39.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/7.358, allocations: 135.8 kB / 3.408 GB, free: 39.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/7.358, allocations: 4 kB / 3.408 GB, free: 39.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/7.359, allocations: 79.97 kB / 3.408 GB, free: 39.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.433e-05/7.359, allocations: 39.95 kB / 3.408 GB, free: 38.98 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 () * 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.0006655/7.36, allocations: 329.1 kB / 3.408 GB, free: 38.65 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/7.36, allocations: 94.78 kB / 3.408 GB, free: 38.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/7.362, allocations: 0.9507 MB / 3.409 GB, free: 37.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/7.362, allocations: 12 kB / 3.409 GB, free: 37.59 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/7.362, allocations: 0 / 3.409 GB, free: 37.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/7.362, allocations: 3.984 kB / 3.409 GB, free: 37.58 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/7.365, allocations: 2.031 MB / 3.411 GB, free: 35.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/7.365, allocations: 3.938 kB / 3.411 GB, free: 35.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007279/7.366, allocations: 144.1 kB / 3.411 GB, free: 35.33 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/7.366, allocations: 7.984 kB / 3.411 GB, free: 35.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.782e-05/7.366, allocations: 16 kB / 3.411 GB, free: 35.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/7.366, allocations: 7.953 kB / 3.411 GB, free: 35.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/7.366, allocations: 11.98 kB / 3.411 GB, free: 35.29 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/7.368, allocations: 1.563 MB / 3.413 GB, free: 33.63 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/7.369, allocations: 199.8 kB / 3.413 GB, free: 33.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/7.369, allocations: 16.05 kB / 3.413 GB, free: 33.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/7.37, allocations: 87.77 kB / 3.413 GB, free: 33.31 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/7.37, allocations: 47.84 kB / 3.413 GB, free: 33.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.876e-05/7.37, allocations: 23.98 kB / 3.413 GB, free: 33.24 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008598/7.371, allocations: 0.704 MB / 3.414 GB, free: 32.53 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.1e-07/7.371, allocations: 0 / 3.414 GB, free: 32.53 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0018/7.373, allocations: 0.5697 MB / 3.414 GB, free: 31.96 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 () * 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.004826/7.378, allocations: 4.298 MB / 3.419 GB, free: 27.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002321/7.38, allocations: 1.222 MB / 3.42 GB, free: 26.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/7.38, allocations: 4 kB / 3.42 GB, free: 26.28 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007524/7.381, allocations: 408 kB / 3.42 GB, free: 25.88 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/7.383, allocations: 437.3 kB / 3.421 GB, free: 25.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00533/7.388, allocations: 2.872 MB / 3.423 GB, free: 22.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/7.389, allocations: 1.045 MB / 3.424 GB, free: 21.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001158/7.39, allocations: 262.8 kB / 3.425 GB, free: 21.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005222/7.39, allocations: 375.3 kB / 3.425 GB, free: 20.8 MB / 0.6511 GB Notification: Performance of SimCode: time 7.42e-07/7.39, allocations: 0 / 3.425 GB, free: 20.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.378/7.768, allocations: 52.43 MB / 3.476 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/7.769, allocations: 226.1 kB / 3.476 GB, free: 100.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.844/11.61, allocations: 1.75 kB / 3.476 GB, free: 100.1 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)