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.509/1.509, allocations: 252 MB / 267.3 MB, free: 10.84 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.001124/0.001124, allocations: 176.3 kB / 327 MB, free: 2.098 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.975/1.975, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0008388/0.0008386, allocations: 84.08 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005504/0.0005506, allocations: 8.562 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2488, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7102/0.9591, allocations: 185.4 MB / 1.082 GB, free: 1.695 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01329/0.9724, allocations: 7.882 MB / 1.09 GB, free: 1.477 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002993/0.9754, allocations: 31.25 kB / 1.09 GB, free: 1.477 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003079/0.9786, allocations: 461.9 kB / 1.09 GB, free: 1.465 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006351/0.985, allocations: 1.452 MB / 1.092 GB, free: 1.387 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009975/0.995, allocations: 2.285 MB / 1.094 GB, free: 1.301 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004974/0.9999, allocations: 2.798 MB / 1.097 GB, free: 1.293 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/1.002, allocations: 0.9185 MB / 1.097 GB, free: 1.168 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/1.004, allocations: 0.8276 MB / 1.098 GB, free: 1.168 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/1.006, allocations: 0.8135 MB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006486/1.007, allocations: 55.59 kB / 1.099 GB, free: 1.16 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003617/1.011, allocations: 1.495 MB / 1.101 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007369/1.011, allocations: 339 kB / 1.101 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/1.013, allocations: 0.5808 MB / 1.101 GB, free: 1.113 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003964/1.017, allocations: 2.081 MB / 1.103 GB, free: 1.008 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.017, allocations: 7.938 kB / 1.103 GB, free: 1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.784e-06/1.017, allocations: 0 / 1.103 GB, free: 1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.332e-05/1.017, allocations: 0 / 1.103 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.005002/1.022, allocations: 1.527 MB / 1.105 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/1.022, allocations: 11.19 kB / 1.105 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002922/1.022, allocations: 88.84 kB / 1.105 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/1.023, allocations: 195.5 kB / 1.105 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/1.026, allocations: 1.049 MB / 1.106 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/1.026, allocations: 58.53 kB / 1.106 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/1.026, allocations: 55.25 kB / 1.106 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/1.027, allocations: 0.7024 MB / 1.107 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/1.027, allocations: 0 / 1.107 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.045e-05/1.028, allocations: 18.28 kB / 1.107 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/1.028, allocations: 11.12 kB / 1.107 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/1.029, allocations: 0.6483 MB / 1.108 GB, free: 15.61 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.004239/1.033, allocations: 2.68 MB / 1.11 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.034, allocations: 0.5649 MB / 1.111 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005933/1.035, allocations: 362.3 kB / 1.111 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004206/1.035, allocations: 297 kB / 1.112 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/1.035, allocations: 37.22 kB / 1.112 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007858/1.036, allocations: 171.1 kB / 1.112 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 5.22e-06/1.036, allocations: 0 / 1.112 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.002461/1.039, allocations: 1.065 MB / 1.113 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.373e-05/1.039, allocations: 134.8 kB / 1.113 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/1.041, allocations: 1.291 MB / 1.114 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/1.041, allocations: 41.92 kB / 1.114 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/1.041, allocations: 442.8 kB / 1.115 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/1.041, allocations: 152.1 kB / 1.115 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/1.041, allocations: 10.22 kB / 1.115 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.041, allocations: 324.7 kB / 1.115 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/1.042, allocations: 292.9 kB / 1.115 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007966/1.043, allocations: 0.519 MB / 1.116 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/1.044, allocations: 0.6546 MB / 1.117 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.044, allocations: 0 / 1.117 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001619/1.046, allocations: 0.7974 MB / 1.117 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.836e-05/1.046, allocations: 100 kB / 1.117 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/1.046, allocations: 4 kB / 1.117 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.046, allocations: 2.938 kB / 1.117 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/1.047, allocations: 120.9 kB / 1.118 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/1.047, allocations: 6.562 kB / 1.118 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/1.048, allocations: 130.1 kB / 1.118 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/1.048, allocations: 21.14 kB / 1.118 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/1.048, allocations: 3.938 kB / 1.118 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001459/1.05, allocations: 0.6692 MB / 1.118 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.05, allocations: 1.859 kB / 1.118 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.733e-06/1.05, allocations: 7.562 kB / 1.118 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/1.05, allocations: 117.8 kB / 1.118 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/1.05, allocations: 3.188 kB / 1.118 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/1.052, allocations: 129.6 kB / 1.119 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.683e-05/1.052, allocations: 28.12 kB / 1.119 GB, free: 12.9 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.0006519/1.052, allocations: 329.6 kB / 1.119 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/1.053, allocations: 106.8 kB / 1.119 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/1.055, allocations: 0.8362 MB / 1.12 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/1.055, allocations: 6.5 kB / 1.12 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/1.055, allocations: 0 / 1.12 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/1.055, allocations: 6.844 kB / 1.12 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003925/1.059, allocations: 1.969 MB / 1.122 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/1.059, allocations: 3 kB / 1.122 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006735/1.059, allocations: 113.1 kB / 1.122 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.906e-05/1.059, allocations: 8.875 kB / 1.122 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/1.059, allocations: 15.7 kB / 1.122 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-05/1.059, allocations: 7.859 kB / 1.122 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/1.059, allocations: 3.406 kB / 1.122 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/1.062, allocations: 1.29 MB / 1.123 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006846/1.063, allocations: 283.8 kB / 1.123 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002484/1.063, allocations: 15.06 kB / 1.123 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/1.064, allocations: 83.45 kB / 1.124 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/1.065, allocations: 49.48 kB / 1.124 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.702e-05/1.065, allocations: 20.62 kB / 1.124 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002192/1.067, allocations: 0.9266 MB / 1.125 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.11e-07/1.067, allocations: 0 / 1.125 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001926/1.069, allocations: 460.3 kB / 1.125 GB, free: 11.56 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.003169/1.072, allocations: 1.971 MB / 1.127 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002253/1.074, allocations: 1.073 MB / 1.128 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/1.074, allocations: 3.312 kB / 1.128 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006578/1.075, allocations: 356 kB / 1.128 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/1.078, allocations: 483.8 kB / 1.129 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/1.096, allocations: 9.505 MB / 1.138 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007801/1.097, allocations: 1.055 MB / 1.139 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00154/1.098, allocations: 296.1 kB / 1.139 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000719/1.099, allocations: 400.4 kB / 1.14 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/1.099, allocations: 0 / 1.14 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06227/1.161, allocations: 30.39 MB / 1.169 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/1.161, allocations: 252.7 kB / 1.17 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.269/4.431, allocations: 7.938 kB / 1.17 GB, free: 12.9 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)