Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8268/0.8268, allocations: 141.8 MB / 149.3 MB, free: 9.234 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 184.9 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 221.5 MB / 436.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009865/0.0009867, allocations: 87.86 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001963/0.001963, allocations: 285.6 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.001e-05/2e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5509/0.5509, allocations: 82.76 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.084/4.635, allocations: 1.875 GB / 2.633 GB, free: 184.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/4.635, allocations: 91.83 kB / 2.633 GB, free: 184.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.923/6.558, allocations: 0.6044 GB / 3.237 GB, free: 109.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.346e-06/6.558, allocations: 7.984 kB / 3.237 GB, free: 109.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001504/6.558, allocations: 27.36 kB / 3.237 GB, free: 109.2 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003794/6.562, allocations: 1.277 MB / 3.238 GB, free: 107.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/6.562, allocations: 8.031 kB / 3.238 GB, free: 107.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003111/6.565, allocations: 230.4 kB / 3.239 GB, free: 107.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/6.568, allocations: 0.9971 MB / 3.24 GB, free: 106.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/6.568, allocations: 20 kB / 3.24 GB, free: 106.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000281/6.569, allocations: 36 kB / 3.24 GB, free: 106.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001143/6.57, allocations: 0.5375 MB / 3.24 GB, free: 106 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/6.571, allocations: 0.5153 MB / 3.241 GB, free: 105.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/6.571, allocations: 7.375 kB / 3.241 GB, free: 105.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.388e-05/6.571, allocations: 0 / 3.241 GB, free: 105.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.825e-05/6.571, allocations: 17.31 kB / 3.241 GB, free: 105.5 MB / 0.698 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.006238/6.577, allocations: 2.608 MB / 3.243 GB, free: 102.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008235/6.578, allocations: 0.5137 MB / 3.244 GB, free: 102.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/6.578, allocations: 311.2 kB / 3.244 GB, free: 101.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003944/6.579, allocations: 286.9 kB / 3.244 GB, free: 101.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/6.579, allocations: 38.5 kB / 3.244 GB, free: 101.6 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00119/6.58, allocations: 199.5 kB / 3.245 GB, free: 101.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=44): time 5.18e-06/6.58, allocations: 0 / 3.245 GB, free: 101.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=44): time 0.001737/6.582, allocations: 0.6881 MB / 3.245 GB, free: 100.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/6.582, allocations: 55.41 kB / 3.245 GB, free: 100.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/6.583, allocations: 0.953 MB / 3.246 GB, free: 99.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-05/6.584, allocations: 29.7 kB / 3.246 GB, free: 99.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/6.584, allocations: 443.4 kB / 3.247 GB, free: 99.15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/6.584, allocations: 141.8 kB / 3.247 GB, free: 99.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/6.584, allocations: 0 / 3.247 GB, free: 99.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.555e-05/6.584, allocations: 322 kB / 3.247 GB, free: 98.69 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/6.584, allocations: 224.7 kB / 3.247 GB, free: 98.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/6.585, allocations: 445.8 kB / 3.248 GB, free: 97.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/6.585, allocations: 283.7 kB / 3.248 GB, free: 97.67 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/6.585, allocations: 0 / 3.248 GB, free: 97.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001053/6.586, allocations: 0.6483 MB / 3.249 GB, free: 97.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.279e-05/6.586, allocations: 102.6 kB / 3.249 GB, free: 96.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/6.586, allocations: 0 / 3.249 GB, free: 96.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/6.586, allocations: 7.391 kB / 3.249 GB, free: 96.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/6.587, allocations: 135.8 kB / 3.249 GB, free: 96.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/6.587, allocations: 0 / 3.249 GB, free: 96.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/6.588, allocations: 111.8 kB / 3.249 GB, free: 96.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.805e-05/6.589, allocations: 31.97 kB / 3.249 GB, free: 96.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/6.589, allocations: 4.625 kB / 3.249 GB, free: 96.63 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000726/6.589, allocations: 0.5074 MB / 3.25 GB, free: 96.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/6.589, allocations: 4 kB / 3.25 GB, free: 96.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.521e-06/6.589, allocations: 3.984 kB / 3.25 GB, free: 96.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/6.59, allocations: 139.8 kB / 3.25 GB, free: 95.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/6.59, allocations: 3.984 kB / 3.25 GB, free: 95.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/6.591, allocations: 107.8 kB / 3.25 GB, free: 95.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/6.591, allocations: 27.97 kB / 3.25 GB, free: 95.84 MB / 0.698 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.000171/6.592, allocations: 116.9 kB / 3.25 GB, free: 95.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000256/6.592, allocations: 94.78 kB / 3.25 GB, free: 95.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/6.593, allocations: 0.7086 MB / 3.251 GB, free: 94.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/6.593, allocations: 4 kB / 3.251 GB, free: 94.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/6.593, allocations: 0 / 3.251 GB, free: 94.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/6.593, allocations: 0 / 3.251 GB, free: 94.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/6.596, allocations: 1.804 MB / 3.252 GB, free: 93.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/6.596, allocations: 4 kB / 3.252 GB, free: 93.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/6.597, allocations: 120.1 kB / 3.253 GB, free: 92.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/6.597, allocations: 7.938 kB / 3.253 GB, free: 92.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/6.597, allocations: 7.984 kB / 3.253 GB, free: 92.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/6.597, allocations: 7.953 kB / 3.253 GB, free: 92.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/6.597, allocations: 7.938 kB / 3.253 GB, free: 92.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/6.598, allocations: 1.203 MB / 3.254 GB, free: 91.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006159/6.599, allocations: 295.7 kB / 3.254 GB, free: 91.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/6.599, allocations: 4 kB / 3.254 GB, free: 91.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/6.6, allocations: 79.81 kB / 3.254 GB, free: 91.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/6.601, allocations: 43.89 kB / 3.254 GB, free: 91.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.111e-05/6.601, allocations: 20 kB / 3.254 GB, free: 91.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001028/6.602, allocations: 0.7468 MB / 3.255 GB, free: 90.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/6.602, allocations: 0 / 3.255 GB, free: 90.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001961/6.604, allocations: 0.4992 MB / 3.255 GB, free: 89.88 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.002684/6.606, allocations: 1.825 MB / 3.257 GB, free: 88.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001261/6.608, allocations: 0.8248 MB / 3.258 GB, free: 87.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/6.608, allocations: 0 / 3.258 GB, free: 87.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003632/6.608, allocations: 280.5 kB / 3.258 GB, free: 87.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/6.61, allocations: 387.8 kB / 3.259 GB, free: 86.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/6.612, allocations: 1.225 MB / 3.26 GB, free: 85.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/6.613, allocations: 1.074 MB / 3.261 GB, free: 84.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001902/6.615, allocations: 381.9 kB / 3.261 GB, free: 83.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/6.615, allocations: 71.39 kB / 3.261 GB, free: 83.88 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/6.615, allocations: 3.938 kB / 3.261 GB, free: 83.87 MB / 0.698 GB Notification: Performance of Templates: time 0.03933/6.655, allocations: 27.43 MB / 3.288 GB, free: 56.67 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)