Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5408/0.5408, allocations: 90.92 MB / 99.35 MB, free: 2.129 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.5 MB / 343.2 MB, free: 1.543 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009181/0.0009181, allocations: 89.86 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.665e-05, allocations: 4 kB / 494.5 MB, free: 52.37 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1494, allocations: 72.31 MB / 0.5535 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.67/4.82, allocations: 1.868 GB / 2.422 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/4.82, allocations: 91.95 kB / 2.422 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.525/7.345, allocations: 0.6043 GB / 3.026 GB, free: 106 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.412e-06/7.345, allocations: 0 / 3.026 GB, free: 106 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001682/7.345, allocations: 27.09 kB / 3.026 GB, free: 106 MB / 0.6042 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.003793/7.349, allocations: 1.28 MB / 3.028 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/7.349, allocations: 10.89 kB / 3.028 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002641/7.352, allocations: 238.6 kB / 3.028 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/7.354, allocations: 1.006 MB / 3.029 GB, free: 105 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/7.354, allocations: 14.56 kB / 3.029 GB, free: 105 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/7.355, allocations: 42.7 kB / 3.029 GB, free: 105 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009101/7.355, allocations: 0.531 MB / 3.029 GB, free: 105 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008408/7.356, allocations: 0.5158 MB / 3.03 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/7.356, allocations: 2.094 kB / 3.03 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.618e-05/7.356, allocations: 0 / 3.03 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/7.356, allocations: 16.94 kB / 3.03 GB, free: 104.9 MB / 0.6042 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.004316/7.361, allocations: 2.601 MB / 3.032 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007451/7.361, allocations: 0.5182 MB / 3.033 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/7.362, allocations: 306 kB / 3.033 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003717/7.362, allocations: 289 kB / 3.033 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/7.362, allocations: 42.16 kB / 3.033 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001017/7.363, allocations: 208.4 kB / 3.034 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=44): time 3.958e-06/7.363, allocations: 3.281 kB / 3.034 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44): time 0.001472/7.365, allocations: 0.6781 MB / 3.034 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/7.365, allocations: 57.34 kB / 3.034 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/7.366, allocations: 0.9542 MB / 3.035 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.839e-05/7.366, allocations: 29.55 kB / 3.035 GB, free: 103.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/7.367, allocations: 434.1 kB / 3.036 GB, free: 103.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/7.367, allocations: 147.8 kB / 3.036 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/7.367, allocations: 0 / 3.036 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.083e-05/7.367, allocations: 323 kB / 3.036 GB, free: 103 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/7.367, allocations: 221.1 kB / 3.036 GB, free: 103 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/7.368, allocations: 448.8 kB / 3.037 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/7.368, allocations: 284.2 kB / 3.037 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/7.368, allocations: 0 / 3.037 GB, free: 102.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001009/7.369, allocations: 0.6425 MB / 3.038 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/7.369, allocations: 108.3 kB / 3.038 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/7.369, allocations: 0 / 3.038 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/7.369, allocations: 0 / 3.038 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006626/7.37, allocations: 133.1 kB / 3.038 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/7.37, allocations: 9.969 kB / 3.038 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/7.371, allocations: 110.5 kB / 3.038 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-05/7.371, allocations: 28.7 kB / 3.038 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/7.371, allocations: 3.969 kB / 3.038 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007914/7.372, allocations: 0.509 MB / 3.039 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/7.372, allocations: 0 / 3.039 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.539e-06/7.372, allocations: 3.062 kB / 3.039 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/7.373, allocations: 134.9 kB / 3.039 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/7.373, allocations: 0 / 3.039 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/7.374, allocations: 120 kB / 3.039 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.051e-05/7.374, allocations: 28.98 kB / 3.039 GB, free: 102.6 MB / 0.6042 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.0001739/7.374, allocations: 111.6 kB / 3.039 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/7.374, allocations: 99.16 kB / 3.039 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/7.376, allocations: 0.7111 MB / 3.04 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/7.376, allocations: 2.812 kB / 3.04 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/7.376, allocations: 2.969 kB / 3.04 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/7.376, allocations: 3.656 kB / 3.04 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/7.379, allocations: 1.792 MB / 3.042 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/7.379, allocations: 9.828 kB / 3.042 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005561/7.379, allocations: 116.7 kB / 3.042 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/7.379, allocations: 10.42 kB / 3.042 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/7.379, allocations: 9.969 kB / 3.042 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/7.379, allocations: 6.844 kB / 3.042 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/7.379, allocations: 0 / 3.042 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/7.381, allocations: 1.204 MB / 3.043 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/7.381, allocations: 301.1 kB / 3.043 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/7.381, allocations: 6.938 kB / 3.043 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/7.382, allocations: 72.17 kB / 3.043 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/7.383, allocations: 50.53 kB / 3.043 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.543e-05/7.383, allocations: 23.77 kB / 3.043 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001164/7.384, allocations: 0.7447 MB / 3.044 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.11e-07/7.384, allocations: 0 / 3.044 GB, free: 101.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002146/7.386, allocations: 0.5004 MB / 3.045 GB, free: 101.3 MB / 0.6042 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.003252/7.389, allocations: 1.819 MB / 3.046 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001313/7.391, allocations: 0.8249 MB / 3.047 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/7.391, allocations: 0 / 3.047 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003768/7.391, allocations: 284.8 kB / 3.047 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/7.393, allocations: 388.6 kB / 3.048 GB, free: 100.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/7.395, allocations: 1.225 MB / 3.049 GB, free: 100.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/7.396, allocations: 1.068 MB / 3.05 GB, free: 99.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0021/7.398, allocations: 378.7 kB / 3.05 GB, free: 99.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/7.398, allocations: 68.48 kB / 3.05 GB, free: 99.61 MB / 0.6042 GB Notification: Performance of SimCode: time 8.91e-07/7.398, allocations: 0 / 3.05 GB, free: 99.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.04206/7.44, allocations: 27.42 MB / 3.077 GB, free: 97.15 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)