Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 194.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 222.4 MB, free: 4.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.587/1.587, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 71.92 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1656, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4744/0.64, allocations: 190 MB / 0.969 GB, free: 0 / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009502/0.6495, allocations: 7.486 MB / 0.9763 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000617/0.6502, allocations: 33.91 kB / 0.9763 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.6513, allocations: 0.5394 MB / 0.9769 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002689/0.6541, allocations: 1.555 MB / 0.9784 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005741/0.6598, allocations: 2.739 MB / 0.981 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002157/0.662, allocations: 2.281 MB / 0.9833 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.6631, allocations: 1.084 MB / 0.9843 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009613/0.664, allocations: 0.9469 MB / 0.9853 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008126/0.6649, allocations: 0.8709 MB / 0.9861 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.6651, allocations: 139 kB / 0.9862 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.6671, allocations: 1.366 MB / 0.9876 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003553/0.6674, allocations: 430.4 kB / 0.988 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005325/0.668, allocations: 0.6531 MB / 0.9886 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.6698, allocations: 2.089 MB / 0.9907 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.6698, allocations: 0 / 0.9907 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6698, allocations: 2.719 kB / 0.9907 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.6698, allocations: 4 kB / 0.9907 GB, free: 7.824 MB / 0.7325 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.003454/0.6733, allocations: 1.763 MB / 0.9924 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.6733, allocations: 8 kB / 0.9924 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.6734, allocations: 93.17 kB / 0.9925 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006995/0.6742, allocations: 186.5 kB / 0.9927 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.6756, allocations: 1.056 MB / 0.9937 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.6757, allocations: 51.56 kB / 0.9937 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.6758, allocations: 58.62 kB / 0.9938 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.6769, allocations: 0.6904 MB / 0.9945 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.6769, allocations: 0 / 0.9945 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.677, allocations: 25.19 kB / 0.9945 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.677, allocations: 13.91 kB / 0.9945 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.6782, allocations: 0.6256 MB / 0.9951 GB, free: 4.797 MB / 0.7325 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.003531/0.6817, allocations: 2.664 MB / 0.9977 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.6827, allocations: 0.564 MB / 0.9983 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000572/0.6833, allocations: 353.7 kB / 0.9986 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003408/0.6837, allocations: 292.6 kB / 0.9989 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.6837, allocations: 41.08 kB / 0.9989 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005374/0.6842, allocations: 141.8 kB / 0.9991 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.6843, allocations: 0 / 0.9991 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002083/0.6863, allocations: 1.026 MB / 1 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.6864, allocations: 133.6 kB / 1 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.688, allocations: 1.291 MB / 1.001 GB, free: 484 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.103e-05/0.6881, allocations: 41.08 kB / 1.001 GB, free: 444 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.6884, allocations: 445.5 kB / 1.002 GB, free: 52 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.6885, allocations: 151.8 kB / 1.002 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.6887, allocations: 126 kB / 1.002 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.6889, allocations: 330.2 kB / 1.002 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.6894, allocations: 290 kB / 1.003 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000713/0.6901, allocations: 0.5084 MB / 1.003 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.6912, allocations: 0.6174 MB / 1.004 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6912, allocations: 0 / 1.004 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00139/0.6926, allocations: 0.7865 MB / 1.005 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.6926, allocations: 4.5 kB / 1.005 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.6927, allocations: 0 / 1.005 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.6927, allocations: 2.906 kB / 1.005 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.6933, allocations: 118.5 kB / 1.005 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.6933, allocations: 6.688 kB / 1.005 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000991/0.6943, allocations: 87.78 kB / 1.005 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/0.6944, allocations: 22.64 kB / 1.005 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007256/0.6951, allocations: 495.4 kB / 1.005 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000697/0.6958, allocations: 0.5145 MB / 1.006 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001045/0.6968, allocations: 0.6162 MB / 1.006 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.6969, allocations: 0 / 1.006 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001368/0.6982, allocations: 0.7696 MB / 1.007 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.632e-06/0.6982, allocations: 4.562 kB / 1.007 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.6983, allocations: 6.984 kB / 1.007 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-06/0.6983, allocations: 2.281 kB / 1.007 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/0.6988, allocations: 126.8 kB / 1.007 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.6988, allocations: 2.562 kB / 1.007 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.6999, allocations: 128.1 kB / 1.007 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/0.7, allocations: 26.58 kB / 1.007 GB, free: 12.63 MB / 0.7481 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.0001643/0.7002, allocations: 215.3 kB / 1.008 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.7004, allocations: 102 kB / 1.008 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.7019, allocations: 0.8032 MB / 1.009 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.7019, allocations: 5.062 kB / 1.009 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.7019, allocations: 4 kB / 1.009 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.7019, allocations: 5.766 kB / 1.009 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002599/0.7045, allocations: 1.951 MB / 1.01 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.7045, allocations: 6.969 kB / 1.011 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005333/0.7051, allocations: 113.1 kB / 1.011 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.7051, allocations: 5.594 kB / 1.011 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.7051, allocations: 19.08 kB / 1.011 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.7051, allocations: 2.906 kB / 1.011 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.7052, allocations: 6.656 kB / 1.011 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.707, allocations: 1.23 MB / 1.012 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/0.7074, allocations: 287.2 kB / 1.012 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.7075, allocations: 17.27 kB / 1.012 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008554/0.7084, allocations: 67.92 kB / 1.012 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.914e-05/0.7085, allocations: 34.11 kB / 1.012 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.7085, allocations: 27.11 kB / 1.012 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001177/0.7097, allocations: 0.9265 MB / 1.013 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7097, allocations: 0 / 1.013 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009339/0.7106, allocations: 453.8 kB / 1.014 GB, free: 8.832 MB / 0.7481 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.002439/0.7131, allocations: 1.961 MB / 1.016 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001905/0.715, allocations: 1.087 MB / 1.017 GB, free: 6.941 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.715, allocations: 2.094 kB / 1.017 GB, free: 6.941 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005587/0.7156, allocations: 341.1 kB / 1.017 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.7174, allocations: 444.9 kB / 1.017 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.7289, allocations: 9.135 MB / 1.026 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005649/0.7294, allocations: 1.061 MB / 1.027 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009674/0.7304, allocations: 299.3 kB / 1.028 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/0.731, allocations: 399.3 kB / 1.028 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of SimCode: time 4.51e-07/0.731, allocations: 0 / 1.028 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4387/1.17, allocations: 31.59 MB / 1.059 GB, free: 13.95 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.753/9.923, allocations: 12 kB / 1.059 GB, free: 13.93 MB / 0.795 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)