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 3.1/3.1, allocations: 287.5 MB / 302.4 MB, free: 8.363 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.001327/0.001327, allocations: 190.9 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009863/0.000986, allocations: 89.22 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006267/0.0006271, allocations: 11.72 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2251, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.9229/1.148, allocations: 172.8 MB / 1.147 GB, free: 11 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01824/1.166, allocations: 7.151 MB / 1.154 GB, free: 8.059 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/1.168, allocations: 33.97 kB / 1.154 GB, free: 8.039 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002248/1.171, allocations: 363.8 kB / 1.155 GB, free: 7.832 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005738/1.176, allocations: 1.139 MB / 1.156 GB, free: 6.965 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01017/1.187, allocations: 2.037 MB / 1.158 GB, free: 5.656 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005403/1.192, allocations: 2.422 MB / 1.16 GB, free: 4.195 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/1.195, allocations: 0.861 MB / 1.161 GB, free: 3.633 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002824/1.197, allocations: 0.8162 MB / 1.162 GB, free: 3.207 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002276/1.2, allocations: 0.7807 MB / 1.162 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004793/1.2, allocations: 56.31 kB / 1.162 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004007/1.204, allocations: 0.9185 MB / 1.163 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000969/1.205, allocations: 328 kB / 1.164 GB, free: 2.023 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006252/1.206, allocations: 229.7 kB / 1.164 GB, free: 1.883 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003842/1.21, allocations: 1.551 MB / 1.165 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.21, allocations: 3.938 kB / 1.165 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.748e-06/1.21, allocations: 0 / 1.165 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.747e-05/1.21, allocations: 4 kB / 1.165 GB, free: 0.8008 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.007469/1.217, allocations: 1.536 MB / 1.167 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/1.218, allocations: 8.625 kB / 1.167 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003796/1.218, allocations: 91.52 kB / 1.167 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/1.219, allocations: 193.8 kB / 1.167 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003504/1.223, allocations: 1.011 MB / 1.168 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002616/1.223, allocations: 50.86 kB / 1.168 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/1.224, allocations: 62.31 kB / 1.168 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/1.226, allocations: 0.6981 MB / 1.169 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/1.226, allocations: 0 / 1.169 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/1.226, allocations: 16.91 kB / 1.169 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/1.226, allocations: 12.31 kB / 1.169 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/1.228, allocations: 0.6442 MB / 1.17 GB, free: 13.95 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.008234/1.237, allocations: 2.69 MB / 1.172 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/1.239, allocations: 0.5638 MB / 1.173 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/1.24, allocations: 362.6 kB / 1.173 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005947/1.241, allocations: 294 kB / 1.173 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/1.241, allocations: 40.33 kB / 1.173 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001781/1.243, allocations: 169.3 kB / 1.174 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 5.31e-06/1.243, allocations: 0 / 1.174 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.00455/1.247, allocations: 1.06 MB / 1.175 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/1.247, allocations: 135.6 kB / 1.175 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003791/1.251, allocations: 1.276 MB / 1.176 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002627/1.252, allocations: 43.42 kB / 1.176 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006518/1.252, allocations: 455.1 kB / 1.177 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/1.252, allocations: 146.4 kB / 1.177 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/1.253, allocations: 6.125 kB / 1.177 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.253, allocations: 323.8 kB / 1.177 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/1.254, allocations: 291.8 kB / 1.177 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/1.255, allocations: 0.5191 MB / 1.178 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/1.256, allocations: 349.3 kB / 1.178 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/1.256, allocations: 7.938 kB / 1.178 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003043/1.259, allocations: 0.7969 MB / 1.179 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/1.26, allocations: 92.73 kB / 1.179 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/1.26, allocations: 2.656 kB / 1.179 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/1.26, allocations: 2.688 kB / 1.179 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.261, allocations: 128.3 kB / 1.179 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/1.261, allocations: 3.312 kB / 1.179 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/1.264, allocations: 125.3 kB / 1.179 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/1.264, allocations: 26.09 kB / 1.179 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/1.264, allocations: 4.688 kB / 1.179 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002485/1.267, allocations: 0.6596 MB / 1.18 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/1.267, allocations: 6.891 kB / 1.18 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/1.267, allocations: 3.953 kB / 1.18 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/1.268, allocations: 120.6 kB / 1.18 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/1.268, allocations: 2.844 kB / 1.18 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/1.271, allocations: 129.3 kB / 1.18 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/1.271, allocations: 27.88 kB / 1.18 GB, free: 6.934 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.001003/1.272, allocations: 328.2 kB / 1.18 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00059/1.273, allocations: 104.1 kB / 1.181 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003159/1.276, allocations: 0.8418 MB / 1.181 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/1.276, allocations: 5.062 kB / 1.181 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.276, allocations: 4 kB / 1.181 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/1.276, allocations: 3.984 kB / 1.181 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006251/1.282, allocations: 1.972 MB / 1.183 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/1.282, allocations: 6.406 kB / 1.183 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/1.284, allocations: 112.5 kB / 1.183 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/1.284, allocations: 5.188 kB / 1.183 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.36e-05/1.284, allocations: 14.42 kB / 1.183 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/1.284, allocations: 8.594 kB / 1.183 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.284, allocations: 3.25 kB / 1.183 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004064/1.288, allocations: 1.279 MB / 1.185 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/1.289, allocations: 296.8 kB / 1.185 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003726/1.289, allocations: 13.97 kB / 1.185 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/1.291, allocations: 77.53 kB / 1.185 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/1.292, allocations: 46.72 kB / 1.185 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-05/1.292, allocations: 25.61 kB / 1.185 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002584/1.294, allocations: 0.9175 MB / 1.186 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.81e-07/1.294, allocations: 0 / 1.186 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002437/1.297, allocations: 447.1 kB / 1.187 GB, free: 3.023 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.00523/1.302, allocations: 1.971 MB / 1.188 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003748/1.306, allocations: 1.063 MB / 1.189 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.306, allocations: 0 / 1.189 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/1.307, allocations: 354.3 kB / 1.19 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004991/1.312, allocations: 488.4 kB / 1.19 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02406/1.336, allocations: 6.925 MB / 1.197 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009837/1.337, allocations: 1.05 MB / 1.198 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002444/1.34, allocations: 299.4 kB / 1.198 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/1.341, allocations: 399.3 kB / 1.199 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of SimCode: time 1.132e-06/1.341, allocations: 0 / 1.199 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09971/1.441, allocations: 30.66 MB / 1.229 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003602/1.441, allocations: 236.2 kB / 1.229 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.888/5.329, allocations: 0 / 1.229 GB, free: 10.92 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)