Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.518/2.518, allocations: 248.7 MB / 256.2 MB, free: 7.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001638/0.001638, allocations: 180.9 kB / 315.4 MB, free: 3.965 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.131/2.131, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 94.45 kB / 0.6704 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.818e-05, allocations: 3.984 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2186, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.344/7.563, allocations: 2.202 GB / 3.086 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/7.563, allocations: 93.44 kB / 3.086 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.398/10.96, allocations: 0.5789 GB / 3.665 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.344e-06/10.96, allocations: 0 / 3.665 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002093/10.96, allocations: 28.53 kB / 3.665 GB, free: 184.9 MB / 0.8698 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.006154/10.97, allocations: 1.327 MB / 3.666 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/10.97, allocations: 11.31 kB / 3.666 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006425/10.97, allocations: 238 kB / 3.666 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004793/10.98, allocations: 1.046 MB / 3.667 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/10.98, allocations: 14.84 kB / 3.667 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/10.98, allocations: 40.16 kB / 3.667 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002099/10.98, allocations: 0.54 MB / 3.668 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/10.98, allocations: 0.5976 MB / 3.668 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/10.98, allocations: 0 / 3.668 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/10.98, allocations: 0 / 3.668 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/10.98, allocations: 11.41 kB / 3.668 GB, free: 183.8 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.01002/10.99, allocations: 2.607 MB / 3.671 GB, free: 183 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/11, allocations: 0.5035 MB / 3.671 GB, free: 183 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009132/11, allocations: 311.5 kB / 3.672 GB, free: 183 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000685/11, allocations: 296.3 kB / 3.672 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/11, allocations: 44.62 kB / 3.672 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002827/11, allocations: 197.1 kB / 3.672 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 6.883e-06/11, allocations: 0 / 3.672 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.003599/11, allocations: 0.6699 MB / 3.673 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/11, allocations: 135.8 kB / 3.673 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003223/11.01, allocations: 0.9629 MB / 3.674 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003164/11.01, allocations: 29.58 kB / 3.674 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006038/11.01, allocations: 460.3 kB / 3.674 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/11.01, allocations: 140.5 kB / 3.675 GB, free: 182 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.736e-05/11.01, allocations: 0 / 3.675 GB, free: 182 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/11.01, allocations: 323.3 kB / 3.675 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000801/11.01, allocations: 237.5 kB / 3.675 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/11.01, allocations: 480.2 kB / 3.676 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/11.01, allocations: 293.7 kB / 3.676 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/11.01, allocations: 3.562 kB / 3.676 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002895/11.02, allocations: 0.675 MB / 3.676 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.437e-05/11.02, allocations: 95.7 kB / 3.677 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/11.02, allocations: 6.938 kB / 3.677 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/11.02, allocations: 0 / 3.677 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/11.02, allocations: 125.1 kB / 3.677 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/11.02, allocations: 0 / 3.677 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003442/11.02, allocations: 113.3 kB / 3.677 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002735/11.02, allocations: 31.7 kB / 3.677 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/11.02, allocations: 3.938 kB / 3.677 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002234/11.02, allocations: 0.5382 MB / 3.677 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/11.02, allocations: 3.906 kB / 3.677 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/11.02, allocations: 0 / 3.677 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/11.02, allocations: 121 kB / 3.677 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/11.03, allocations: 3.812 kB / 3.677 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003406/11.03, allocations: 111.3 kB / 3.678 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002266/11.03, allocations: 31.31 kB / 3.678 GB, free: 181.3 MB / 0.8698 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 () * 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.0003425/11.03, allocations: 114.8 kB / 3.678 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002589/11.03, allocations: 0.6195 MB / 3.678 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004139/11.03, allocations: 97.47 kB / 3.678 GB, free: 181 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002949/11.04, allocations: 0.7024 MB / 3.679 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/11.04, allocations: 7.922 kB / 3.679 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/11.04, allocations: 6.812 kB / 3.679 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/11.04, allocations: 3.797 kB / 3.679 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006204/11.04, allocations: 1.785 MB / 3.681 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/11.04, allocations: 3.094 kB / 3.681 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/11.04, allocations: 115.8 kB / 3.681 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.66e-05/11.04, allocations: 3.094 kB / 3.681 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.214e-05/11.04, allocations: 14.16 kB / 3.681 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/11.04, allocations: 6.719 kB / 3.681 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/11.04, allocations: 3.844 kB / 3.681 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003603/11.05, allocations: 1.199 MB / 3.682 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/11.05, allocations: 293.2 kB / 3.682 GB, free: 180 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003481/11.05, allocations: 3.969 kB / 3.682 GB, free: 180 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002699/11.05, allocations: 77.38 kB / 3.683 GB, free: 180 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/11.05, allocations: 45.23 kB / 3.683 GB, free: 180 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/11.05, allocations: 22.72 kB / 3.683 GB, free: 180 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002318/11.05, allocations: 0.7476 MB / 3.683 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.272e-06/11.05, allocations: 0 / 3.683 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003783/11.06, allocations: 0.5544 MB / 3.684 GB, free: 179.9 MB / 0.8698 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 () * 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.008198/11.07, allocations: 4.108 MB / 3.688 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003076/11.07, allocations: 0.9115 MB / 3.689 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/11.07, allocations: 0 / 3.689 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009654/11.07, allocations: 278.9 kB / 3.689 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005466/11.08, allocations: 411.3 kB / 3.689 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00624/11.08, allocations: 1.465 MB / 3.691 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009226/11.08, allocations: 1.079 MB / 3.692 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00411/11.09, allocations: 382.7 kB / 3.692 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/11.09, allocations: 370.1 kB / 3.693 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.353e-06/11.09, allocations: 0 / 3.693 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1371/11.23, allocations: 40.13 MB / 3.732 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/11.23, allocations: 177.9 kB / 3.732 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.679/15.91, allocations: 0 / 3.732 GB, free: 166.5 MB / 0.8698 GB