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.469/1.469, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001319/0.001319, allocations: 190.7 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009263/0.0009262, allocations: 97.67 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004856, allocations: 12.52 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2518, allocations: 106.3 MB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1751/0.4269, allocations: 158.1 MB / 1.055 GB, free: 1.305 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.5182/0.9452, allocations: 7.258 MB / 1.062 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.9466, allocations: 29.69 kB / 1.062 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.9486, allocations: 0.6352 MB / 1.062 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005143/0.9538, allocations: 1.457 MB / 1.064 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008102/0.9619, allocations: 2.356 MB / 1.066 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004346/0.9662, allocations: 1.319 MB / 1.067 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.968, allocations: 0.8698 MB / 1.068 GB, free: 3.461 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.9702, allocations: 0.8469 MB / 1.069 GB, free: 3.457 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.9714, allocations: 0.635 MB / 1.07 GB, free: 3.457 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.9716, allocations: 60.88 kB / 1.07 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.974, allocations: 0.7613 MB / 1.07 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005244/0.9745, allocations: 316.6 kB / 1.071 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006216/0.9751, allocations: 225 kB / 1.071 GB, free: 19.42 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.9773, allocations: 1.512 MB / 1.072 GB, free: 19.33 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.9773, allocations: 0.7812 kB / 1.072 GB, free: 19.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9773, allocations: 0 / 1.072 GB, free: 19.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.9774, allocations: 0 / 1.072 GB, free: 19.33 MB / 0.7136 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.00398/0.9813, allocations: 1.521 MB / 1.074 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.9814, allocations: 9.375 kB / 1.074 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/0.9815, allocations: 91.61 kB / 1.074 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008269/0.9824, allocations: 189.6 kB / 1.074 GB, free: 18.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.9844, allocations: 1.006 MB / 1.075 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.9846, allocations: 57.45 kB / 1.075 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.9847, allocations: 57.81 kB / 1.075 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.9862, allocations: 0.6939 MB / 1.076 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.9862, allocations: 3.938 kB / 1.076 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.9863, allocations: 20.84 kB / 1.076 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.9863, allocations: 13.36 kB / 1.076 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.9878, allocations: 0.6348 MB / 1.077 GB, free: 18.01 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.00468/0.9925, allocations: 2.687 MB / 1.079 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.9937, allocations: 0.5798 MB / 1.08 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.104e-05/0.9938, allocations: 21.97 kB / 1.08 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.9939, allocations: 43.64 kB / 1.08 GB, free: 17.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008856/0.9947, allocations: 163.2 kB / 1.08 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 2.765e-06/0.9948, allocations: 0 / 1.08 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.002498/0.9973, allocations: 1.06 MB / 1.081 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/0.9974, allocations: 135.9 kB / 1.081 GB, free: 16.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002375/0.9998, allocations: 1.275 MB / 1.082 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.939e-05/0.9999, allocations: 38.42 kB / 1.082 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/1, allocations: 452.2 kB / 1.083 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/1, allocations: 146 kB / 1.083 GB, free: 16.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/1, allocations: 12.03 kB / 1.083 GB, free: 16.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.001, allocations: 323.5 kB / 1.083 GB, free: 16.12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000615/1.001, allocations: 286 kB / 1.084 GB, free: 16.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008132/1.002, allocations: 0.5131 MB / 1.084 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006844/1.003, allocations: 345.2 kB / 1.084 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.003, allocations: 0 / 1.084 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001713/1.004, allocations: 0.796 MB / 1.085 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.882e-05/1.005, allocations: 103.9 kB / 1.085 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/1.005, allocations: 1 kB / 1.085 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.005, allocations: 2.156 kB / 1.085 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000653/1.005, allocations: 120 kB / 1.085 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/1.005, allocations: 5.906 kB / 1.085 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/1.007, allocations: 133 kB / 1.086 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-05/1.007, allocations: 26.81 kB / 1.086 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/1.007, allocations: 4.688 kB / 1.086 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001397/1.008, allocations: 0.668 MB / 1.086 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.008, allocations: 0 / 1.086 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/1.008, allocations: 2.656 kB / 1.086 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/1.009, allocations: 123 kB / 1.086 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/1.009, allocations: 0 / 1.086 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/1.01, allocations: 126.8 kB / 1.086 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/1.01, allocations: 24.02 kB / 1.086 GB, free: 15.62 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.0006243/1.011, allocations: 331.3 kB / 1.087 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/1.011, allocations: 104.2 kB / 1.087 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/1.013, allocations: 0.8417 MB / 1.088 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/1.013, allocations: 10.86 kB / 1.088 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.013, allocations: 0 / 1.088 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/1.013, allocations: 2.719 kB / 1.088 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003404/1.016, allocations: 1.978 MB / 1.09 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.016, allocations: 3.156 kB / 1.09 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/1.017, allocations: 114.4 kB / 1.09 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.958e-06/1.017, allocations: 6.219 kB / 1.09 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/1.017, allocations: 15.72 kB / 1.09 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/1.017, allocations: 5.812 kB / 1.09 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.017, allocations: 3.281 kB / 1.09 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/1.019, allocations: 1.387 MB / 1.091 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005937/1.02, allocations: 290.5 kB / 1.091 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/1.02, allocations: 12.91 kB / 1.091 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/1.021, allocations: 94.06 kB / 1.092 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/1.021, allocations: 39.64 kB / 1.092 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/1.021, allocations: 19.31 kB / 1.092 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001454/1.022, allocations: 0.9184 MB / 1.092 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.31e-07/1.022, allocations: 4 kB / 1.093 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001599/1.024, allocations: 444.6 kB / 1.093 GB, free: 14.13 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.003412/1.028, allocations: 2.699 MB / 1.096 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002475/1.03, allocations: 1.067 MB / 1.097 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.03, allocations: 0 / 1.097 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006893/1.031, allocations: 359.4 kB / 1.097 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/1.034, allocations: 472.9 kB / 1.097 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005033/1.039, allocations: 2.951 MB / 1.1 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006538/1.039, allocations: 1.072 MB / 1.101 GB, free: 10 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001427/1.041, allocations: 307.9 kB / 1.102 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005765/1.041, allocations: 405.5 kB / 1.102 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of SimCode: time 1.172e-06/1.041, allocations: 0 / 1.102 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07566/1.117, allocations: 30 MB / 1.131 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002947/1.117, allocations: 232 kB / 1.132 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.129/4.247, allocations: 0 / 1.132 GB, free: 12.88 MB / 0.7292 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)