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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.767/1.767, allocations: 287.4 MB / 302.6 MB, free: 8.207 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.001295/0.001296, allocations: 186.2 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0009369/0.0009369, allocations: 89.59 kB / 0.7431 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005695/0.0005699, allocations: 11.2 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3031, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7522/1.055, allocations: 172.8 MB / 1.147 GB, free: 11 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01344/1.069, allocations: 7.159 MB / 1.154 GB, free: 7.906 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/1.07, allocations: 32.88 kB / 1.155 GB, free: 7.887 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/1.072, allocations: 367.1 kB / 1.155 GB, free: 7.676 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003721/1.076, allocations: 1.131 MB / 1.156 GB, free: 6.809 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00781/1.083, allocations: 2.03 MB / 1.158 GB, free: 5.504 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004542/1.088, allocations: 2.44 MB / 1.16 GB, free: 4.035 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002199/1.09, allocations: 0.918 MB / 1.161 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00234/1.093, allocations: 0.8194 MB / 1.162 GB, free: 3.008 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001899/1.094, allocations: 0.7772 MB / 1.163 GB, free: 2.535 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003623/1.095, allocations: 57.38 kB / 1.163 GB, free: 2.535 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/1.098, allocations: 0.9135 MB / 1.164 GB, free: 2.062 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000465/1.098, allocations: 335.9 kB / 1.164 GB, free: 1.824 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004311/1.099, allocations: 225.2 kB / 1.164 GB, free: 1.688 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002053/1.101, allocations: 1.559 MB / 1.166 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/1.101, allocations: 0 / 1.166 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/1.101, allocations: 5.625 kB / 1.166 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.456e-05/1.101, allocations: 4 kB / 1.166 GB, free: 0.5977 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.003994/1.105, allocations: 1.523 MB / 1.167 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/1.105, allocations: 10.47 kB / 1.167 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/1.105, allocations: 87.52 kB / 1.167 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009225/1.106, allocations: 186 kB / 1.168 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/1.108, allocations: 1.06 MB / 1.169 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/1.108, allocations: 51.58 kB / 1.169 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/1.108, allocations: 62.31 kB / 1.169 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/1.11, allocations: 0.6938 MB / 1.169 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/1.11, allocations: 0 / 1.169 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.788e-05/1.11, allocations: 20.72 kB / 1.169 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/1.11, allocations: 11.91 kB / 1.169 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/1.111, allocations: 0.6445 MB / 1.17 GB, free: 13.71 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.004979/1.116, allocations: 2.686 MB / 1.173 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/1.117, allocations: 0.5667 MB / 1.173 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006963/1.118, allocations: 364 kB / 1.174 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004466/1.119, allocations: 287 kB / 1.174 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/1.119, allocations: 41.55 kB / 1.174 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001068/1.12, allocations: 168.4 kB / 1.174 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 2.826e-06/1.12, allocations: 0 / 1.174 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.002496/1.122, allocations: 1.056 MB / 1.175 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/1.122, allocations: 149.2 kB / 1.175 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002387/1.125, allocations: 1.272 MB / 1.176 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/1.125, allocations: 42.28 kB / 1.176 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/1.125, allocations: 451.8 kB / 1.177 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/1.126, allocations: 149.1 kB / 1.177 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/1.126, allocations: 4 kB / 1.177 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001749/1.126, allocations: 327.4 kB / 1.177 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006236/1.126, allocations: 293.1 kB / 1.178 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009236/1.127, allocations: 0.5179 MB / 1.178 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/1.129, allocations: 0.6327 MB / 1.179 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.129, allocations: 0 / 1.179 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00177/1.13, allocations: 0.7855 MB / 1.18 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.562e-05/1.131, allocations: 97.17 kB / 1.18 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/1.131, allocations: 0 / 1.18 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/1.131, allocations: 1.75 kB / 1.18 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/1.131, allocations: 125.3 kB / 1.18 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/1.131, allocations: 10.52 kB / 1.18 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/1.133, allocations: 123.6 kB / 1.18 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-05/1.133, allocations: 32.53 kB / 1.18 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/1.133, allocations: 4.062 kB / 1.18 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001369/1.134, allocations: 0.6663 MB / 1.181 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.134, allocations: 0 / 1.181 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.491e-06/1.134, allocations: 2.906 kB / 1.181 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/1.135, allocations: 124.7 kB / 1.181 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/1.135, allocations: 3.938 kB / 1.181 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/1.136, allocations: 127 kB / 1.181 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/1.136, allocations: 25.69 kB / 1.181 GB, free: 6.559 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.0006329/1.137, allocations: 335.1 kB / 1.181 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/1.137, allocations: 104.2 kB / 1.181 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/1.139, allocations: 0.8327 MB / 1.182 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.139, allocations: 5.781 kB / 1.182 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.139, allocations: 0 / 1.182 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.139, allocations: 7.984 kB / 1.182 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/1.142, allocations: 1.971 MB / 1.184 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.142, allocations: 3.156 kB / 1.184 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005652/1.143, allocations: 112.8 kB / 1.184 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/1.143, allocations: 13.8 kB / 1.184 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/1.143, allocations: 12.88 kB / 1.184 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/1.143, allocations: 10.25 kB / 1.184 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.143, allocations: 2.688 kB / 1.184 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/1.145, allocations: 1.282 MB / 1.185 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005541/1.146, allocations: 284.9 kB / 1.186 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/1.146, allocations: 17.06 kB / 1.186 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009883/1.147, allocations: 85.19 kB / 1.186 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/1.147, allocations: 42.58 kB / 1.186 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/1.147, allocations: 21.86 kB / 1.186 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001549/1.149, allocations: 0.9196 MB / 1.187 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.685e-06/1.149, allocations: 0 / 1.187 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001537/1.15, allocations: 447.8 kB / 1.187 GB, free: 2.645 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.00308/1.153, allocations: 1.969 MB / 1.189 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002236/1.156, allocations: 1.07 MB / 1.19 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/1.156, allocations: 0 / 1.19 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006662/1.156, allocations: 354.2 kB / 1.19 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003133/1.159, allocations: 478.6 kB / 1.191 GB, free: 388 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/1.173, allocations: 6.931 MB / 1.198 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007914/1.174, allocations: 1.057 MB / 1.199 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001567/1.176, allocations: 307.3 kB / 1.199 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007225/1.177, allocations: 399.3 kB / 1.199 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of SimCode: time 7.72e-07/1.177, allocations: 0 / 1.199 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0605/1.237, allocations: 30.67 MB / 1.229 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/1.237, allocations: 232.6 kB / 1.23 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.853/4.09, allocations: 3.516 kB / 1.23 GB, free: 10.34 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)