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.0008843/0.0008844, allocations: 87.42 kB / 15.07 MB, free: 1.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000982/0.0009822, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.812/1.812, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005358/0.000536, allocations: 13.59 kB / 0.6738 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2614, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7107/0.9721, allocations: 172.8 MB / 0.9561 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.9855, allocations: 7.173 MB / 0.9631 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.9874, allocations: 29.41 kB / 0.9632 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.9888, allocations: 366.5 kB / 0.9635 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003239/0.9921, allocations: 1.129 MB / 0.9646 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007334/0.9994, allocations: 2.039 MB / 0.9666 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003621/1.003, allocations: 2.41 MB / 0.969 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/1.004, allocations: 0.8628 MB / 0.9698 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/1.006, allocations: 0.8159 MB / 0.9706 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/1.007, allocations: 0.7821 MB / 0.9714 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/1.007, allocations: 59.55 kB / 0.9714 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/1.009, allocations: 0.9104 MB / 0.9723 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003707/1.01, allocations: 335.3 kB / 0.9726 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004752/1.01, allocations: 230.8 kB / 0.9729 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/1.012, allocations: 1.554 MB / 0.9744 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/1.012, allocations: 6.812 kB / 0.9744 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.775e-06/1.012, allocations: 0 / 0.9744 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.18e-05/1.012, allocations: 0 / 0.9744 GB, free: 18.62 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.003395/1.015, allocations: 1.54 MB / 0.9759 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.015, allocations: 8.812 kB / 0.9759 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/1.016, allocations: 92.08 kB / 0.976 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007115/1.016, allocations: 187.1 kB / 0.9762 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/1.018, allocations: 1.014 MB / 0.9772 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/1.018, allocations: 54.7 kB / 0.9772 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.6e-05/1.018, allocations: 59.22 kB / 0.9773 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/1.019, allocations: 0.6948 MB / 0.9779 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/1.019, allocations: 3.375 kB / 0.9779 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-05/1.019, allocations: 21.39 kB / 0.978 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/1.019, allocations: 11.38 kB / 0.978 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/1.02, allocations: 0.6428 MB / 0.9786 GB, free: 16.78 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.004018/1.024, allocations: 2.682 MB / 0.9812 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/1.026, allocations: 0.5573 MB / 0.9818 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/1.026, allocations: 363.5 kB / 0.9821 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004433/1.027, allocations: 296.8 kB / 0.9824 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/1.027, allocations: 44.81 kB / 0.9824 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006565/1.027, allocations: 167 kB / 0.9826 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.904e-06/1.027, allocations: 6.938 kB / 0.9826 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002111/1.029, allocations: 1.058 MB / 0.9836 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.03, allocations: 132 kB / 0.9838 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/1.031, allocations: 1.277 MB / 0.985 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.511e-05/1.032, allocations: 39.33 kB / 0.985 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/1.032, allocations: 449 kB / 0.9855 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/1.032, allocations: 152.3 kB / 0.9856 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/1.032, allocations: 10.94 kB / 0.9856 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.032, allocations: 320.1 kB / 0.9859 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/1.033, allocations: 286.8 kB / 0.9862 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007691/1.034, allocations: 0.525 MB / 0.9867 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005843/1.034, allocations: 345.7 kB / 0.9871 GB, free: 13 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.034, allocations: 0 / 0.9871 GB, free: 13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001413/1.036, allocations: 0.7973 MB / 0.9878 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/1.036, allocations: 95.45 kB / 0.9879 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/1.036, allocations: 8.547 kB / 0.9879 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/1.036, allocations: 2.875 kB / 0.9879 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/1.036, allocations: 123.8 kB / 0.9881 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/1.036, allocations: 5.859 kB / 0.9881 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.037, allocations: 121.1 kB / 0.9882 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/1.038, allocations: 29.72 kB / 0.9882 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/1.038, allocations: 6 kB / 0.9882 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00122/1.039, allocations: 0.6633 MB / 0.9889 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/1.039, allocations: 0 / 0.9889 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/1.039, allocations: 7.438 kB / 0.9889 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005443/1.039, allocations: 127.1 kB / 0.989 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/1.039, allocations: 3.062 kB / 0.989 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009898/1.04, allocations: 136.2 kB / 0.9891 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/1.04, allocations: 22.36 kB / 0.9891 GB, free: 12.38 MB / 0.7325 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.0004405/1.041, allocations: 332.6 kB / 0.9895 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/1.041, allocations: 103.8 kB / 0.9896 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/1.043, allocations: 0.8304 MB / 0.9904 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/1.043, allocations: 14.08 kB / 0.9904 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.043, allocations: 0 / 0.9904 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.043, allocations: 0 / 0.9904 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/1.046, allocations: 1.977 MB / 0.9923 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/1.046, allocations: 2.969 kB / 0.9923 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005153/1.046, allocations: 111.9 kB / 0.9924 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/1.046, allocations: 9.438 kB / 0.9924 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/1.046, allocations: 12.69 kB / 0.9924 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/1.046, allocations: 5.281 kB / 0.9924 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.046, allocations: 10.92 kB / 0.9925 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/1.048, allocations: 1.276 MB / 0.9937 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/1.049, allocations: 292.8 kB / 0.994 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/1.049, allocations: 12.62 kB / 0.994 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000857/1.05, allocations: 74.88 kB / 0.9941 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/1.05, allocations: 44.66 kB / 0.9941 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/1.05, allocations: 22.22 kB / 0.9941 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001425/1.052, allocations: 0.9186 MB / 0.995 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/1.052, allocations: 0 / 0.995 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001494/1.053, allocations: 441.2 kB / 0.9954 GB, free: 10.06 MB / 0.7325 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.00302/1.056, allocations: 1.983 MB / 0.9974 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002084/1.058, allocations: 1.065 MB / 0.9984 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.058, allocations: 1.859 kB / 0.9984 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006189/1.059, allocations: 352.3 kB / 0.9988 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/1.061, allocations: 486.6 kB / 0.9992 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/1.076, allocations: 6.93 MB / 1.006 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/1.077, allocations: 1.057 MB / 1.007 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00179/1.079, allocations: 298.9 kB / 1.007 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008885/1.08, allocations: 397.9 kB / 1.008 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of SimCode: time 2.084e-06/1.08, allocations: 0 / 1.008 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06151/1.141, allocations: 30.64 MB / 1.038 GB, free: 11.03 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/1.142, allocations: 228.6 kB / 1.038 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.679/3.821, allocations: 0 / 1.038 GB, free: 10.79 MB / 0.7637 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/linux/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) Environment - environmentSimulation: