Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.325/1.325, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008748/0.0008748, allocations: 174.3 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007032/0.0007032, allocations: 102.2 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002717, allocations: 9.625 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1454, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4903/0.6357, allocations: 187.6 MB / 1.079 GB, free: 1.656 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.6461, allocations: 7.961 MB / 1.087 GB, free: 1.441 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000952/0.6471, allocations: 32.25 kB / 1.087 GB, free: 1.441 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.6482, allocations: 463.4 kB / 1.088 GB, free: 1.43 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002542/0.6507, allocations: 1.456 MB / 1.089 GB, free: 1.355 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005586/0.6563, allocations: 2.271 MB / 1.091 GB, free: 1.273 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002373/0.6587, allocations: 2.81 MB / 1.094 GB, free: 1.258 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.6597, allocations: 0.9094 MB / 1.095 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.6608, allocations: 0.8295 MB / 1.096 GB, free: 1.133 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006939/0.6615, allocations: 0.8115 MB / 1.097 GB, free: 1.129 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.6616, allocations: 58.44 kB / 1.097 GB, free: 1.129 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.6636, allocations: 1.495 MB / 1.098 GB, free: 1.109 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002826/0.6639, allocations: 343 kB / 1.098 GB, free: 1.105 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004101/0.6643, allocations: 0.555 MB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.666, allocations: 2.084 MB / 1.101 GB, free: 1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.666, allocations: 0 / 1.101 GB, free: 1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.323e-06/0.666, allocations: 0 / 1.101 GB, free: 1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.666, allocations: 0 / 1.101 GB, free: 1 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.003124/0.6691, allocations: 1.524 MB / 1.102 GB, free: 16.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.6692, allocations: 13.28 kB / 1.102 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.6693, allocations: 92.3 kB / 1.103 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006858/0.67, allocations: 187 kB / 1.103 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.6713, allocations: 1.052 MB / 1.104 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.6714, allocations: 52.06 kB / 1.104 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-05/0.6715, allocations: 65.75 kB / 1.104 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.6726, allocations: 0.6997 MB / 1.105 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.6726, allocations: 0 / 1.105 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/0.6727, allocations: 21.16 kB / 1.105 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.6727, allocations: 11.38 kB / 1.105 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.6737, allocations: 0.6403 MB / 1.105 GB, free: 15.62 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.003222/0.677, allocations: 2.702 MB / 1.108 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009125/0.6779, allocations: 0.5592 MB / 1.108 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005161/0.6784, allocations: 366.6 kB / 1.109 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/0.6787, allocations: 282.7 kB / 1.109 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.6788, allocations: 40.19 kB / 1.109 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005723/0.6794, allocations: 168.4 kB / 1.109 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 1.904e-06/0.6794, allocations: 0 / 1.109 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.001948/0.6813, allocations: 1.073 MB / 1.11 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.6814, allocations: 131.6 kB / 1.11 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.683, allocations: 1.286 MB / 1.112 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/0.683, allocations: 36.02 kB / 1.112 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.6833, allocations: 458.8 kB / 1.112 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.866e-05/0.6834, allocations: 149.9 kB / 1.112 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.6835, allocations: 38.81 kB / 1.112 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.033e-05/0.6836, allocations: 322.7 kB / 1.113 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005011/0.6841, allocations: 300 kB / 1.113 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006845/0.6848, allocations: 0.5181 MB / 1.113 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.6858, allocations: 0.6461 MB / 1.114 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.6858, allocations: 0 / 1.114 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001299/0.6871, allocations: 0.8035 MB / 1.115 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.235e-05/0.6872, allocations: 97.67 kB / 1.115 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.6872, allocations: 0 / 1.115 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6872, allocations: 7.875 kB / 1.115 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.6878, allocations: 127.5 kB / 1.115 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.6878, allocations: 3.234 kB / 1.115 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.6889, allocations: 120.6 kB / 1.115 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.689, allocations: 24.8 kB / 1.115 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.521e-06/0.689, allocations: 6.438 kB / 1.115 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001172/0.6902, allocations: 0.6682 MB / 1.116 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.6902, allocations: 1.406 kB / 1.116 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-06/0.6902, allocations: 5.156 kB / 1.116 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.6907, allocations: 119.9 kB / 1.116 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.6907, allocations: 7.562 kB / 1.116 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.6918, allocations: 127.9 kB / 1.116 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/0.6919, allocations: 24.59 kB / 1.116 GB, free: 12.89 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003649/0.6922, allocations: 345.4 kB / 1.116 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.6924, allocations: 107.2 kB / 1.117 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.6939, allocations: 0.8286 MB / 1.117 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.6939, allocations: 5.75 kB / 1.117 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6939, allocations: 0 / 1.117 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6939, allocations: 6.375 kB / 1.117 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.6967, allocations: 1.973 MB / 1.119 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.6967, allocations: 0.7969 kB / 1.119 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006113/0.6974, allocations: 116.9 kB / 1.119 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.6974, allocations: 5.016 kB / 1.119 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/0.6974, allocations: 15.33 kB / 1.119 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.271e-05/0.6974, allocations: 7.281 kB / 1.119 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/0.6975, allocations: 6.141 kB / 1.119 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.7, allocations: 1.294 MB / 1.121 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004439/0.7004, allocations: 280.1 kB / 1.121 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.7006, allocations: 13.59 kB / 1.121 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009514/0.7015, allocations: 86.31 kB / 1.121 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.7016, allocations: 41.97 kB / 1.121 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/0.7017, allocations: 24.52 kB / 1.121 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001282/0.703, allocations: 0.9264 MB / 1.122 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/0.703, allocations: 0 / 1.122 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001119/0.7041, allocations: 447.5 kB / 1.122 GB, free: 11.55 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002399/0.7065, allocations: 1.973 MB / 1.124 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00169/0.7082, allocations: 1.074 MB / 1.125 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7082, allocations: 3.438 kB / 1.125 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005324/0.7088, allocations: 356.5 kB / 1.126 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/0.7112, allocations: 493.6 kB / 1.126 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/0.7246, allocations: 9.472 MB / 1.135 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.7252, allocations: 1.053 MB / 1.136 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001168/0.7263, allocations: 300 kB / 1.137 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/0.7269, allocations: 403.2 kB / 1.137 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.7269, allocations: 4 kB / 1.137 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1679/0.8948, allocations: 30.39 MB / 1.167 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003023/0.8952, allocations: 254.1 kB / 1.167 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.693/3.588, allocations: 0 / 1.167 GB, free: 14.28 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)