Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001797/0.001797, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.889/0.889, allocations: 130.7 MB / 138.7 MB, free: 3.559 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 221.5 MB / 391.8 MB, free: 14.22 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.0008363/0.0008362, allocations: 97.2 kB / 473.9 MB, free: 4.496 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.94e-05/1.939e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4768/0.4769, allocations: 81.57 MB / 0.6282 GB, free: 42.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.42/4.897, allocations: 1.878 GB / 2.506 GB, free: 35.74 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/4.897, allocations: 88.45 kB / 2.506 GB, free: 35.69 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.53/7.427, allocations: 0.6043 GB / 3.11 GB, free: 121.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.044e-06/7.427, allocations: 0 / 3.11 GB, free: 121.3 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001699/7.428, allocations: 29.25 kB / 3.11 GB, free: 121.3 MB / 0.6667 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.003815/7.431, allocations: 1.272 MB / 3.111 GB, free: 120.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/7.431, allocations: 11.12 kB / 3.111 GB, free: 120.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002752/7.434, allocations: 236.7 kB / 3.112 GB, free: 120.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/7.437, allocations: 1.005 MB / 3.113 GB, free: 120.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/7.437, allocations: 19.03 kB / 3.113 GB, free: 120.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/7.437, allocations: 37.66 kB / 3.113 GB, free: 120.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009524/7.438, allocations: 0.5404 MB / 3.113 GB, free: 120.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009205/7.439, allocations: 0.5134 MB / 3.114 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/7.439, allocations: 0 / 3.114 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.879e-05/7.439, allocations: 3.953 kB / 3.114 GB, free: 120.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/7.439, allocations: 21.34 kB / 3.114 GB, free: 120.3 MB / 0.6667 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.004678/7.444, allocations: 2.597 MB / 3.116 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007968/7.445, allocations: 0.5128 MB / 3.117 GB, free: 119.6 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004077/7.445, allocations: 311.5 kB / 3.117 GB, free: 119.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003783/7.445, allocations: 293 kB / 3.117 GB, free: 119.3 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/7.445, allocations: 42.08 kB / 3.117 GB, free: 119.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001075/7.447, allocations: 203.1 kB / 3.118 GB, free: 119.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=44): time 3.747e-06/7.447, allocations: 0 / 3.118 GB, free: 119.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=44): time 0.0017/7.448, allocations: 0.6679 MB / 3.118 GB, free: 119.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/7.448, allocations: 55.25 kB / 3.118 GB, free: 119.1 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/7.45, allocations: 0.9588 MB / 3.119 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.028e-05/7.45, allocations: 29.61 kB / 3.119 GB, free: 118.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/7.45, allocations: 443.6 kB / 3.12 GB, free: 118.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/7.451, allocations: 147.3 kB / 3.12 GB, free: 118.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/7.451, allocations: 0 / 3.12 GB, free: 118.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/7.451, allocations: 320.8 kB / 3.12 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/7.451, allocations: 227.9 kB / 3.12 GB, free: 118.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000507/7.451, allocations: 448.8 kB / 3.121 GB, free: 118.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/7.452, allocations: 273.9 kB / 3.121 GB, free: 118.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/7.452, allocations: 0 / 3.121 GB, free: 118.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001148/7.453, allocations: 0.65 MB / 3.122 GB, free: 118.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.671e-05/7.453, allocations: 106.5 kB / 3.122 GB, free: 118 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/7.453, allocations: 0 / 3.122 GB, free: 118 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/7.453, allocations: 7.391 kB / 3.122 GB, free: 118 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006915/7.454, allocations: 137.6 kB / 3.122 GB, free: 118 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/7.454, allocations: 0 / 3.122 GB, free: 118 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/7.455, allocations: 115.2 kB / 3.122 GB, free: 118 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.989e-05/7.455, allocations: 23.73 kB / 3.122 GB, free: 118 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/7.455, allocations: 3.75 kB / 3.122 GB, free: 118 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008129/7.456, allocations: 0.507 MB / 3.123 GB, free: 118 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/7.456, allocations: 0 / 3.123 GB, free: 118 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/7.456, allocations: 3.75 kB / 3.123 GB, free: 118 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/7.457, allocations: 133.9 kB / 3.123 GB, free: 118 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/7.457, allocations: 4.25 kB / 3.123 GB, free: 118 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/7.458, allocations: 104.2 kB / 3.123 GB, free: 118 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.948e-05/7.458, allocations: 28.98 kB / 3.123 GB, free: 118 MB / 0.6667 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.0001796/7.458, allocations: 121.1 kB / 3.123 GB, free: 117.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/7.459, allocations: 97.56 kB / 3.123 GB, free: 117.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/7.46, allocations: 0.7095 MB / 3.124 GB, free: 117.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/7.46, allocations: 7.344 kB / 3.124 GB, free: 117.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/7.46, allocations: 0 / 3.124 GB, free: 117.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/7.46, allocations: 7.281 kB / 3.124 GB, free: 117.7 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/7.463, allocations: 1.8 MB / 3.126 GB, free: 117.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/7.463, allocations: 3.594 kB / 3.126 GB, free: 117.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00059/7.464, allocations: 119.1 kB / 3.126 GB, free: 117.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/7.464, allocations: 3.906 kB / 3.126 GB, free: 117.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/7.464, allocations: 11.78 kB / 3.126 GB, free: 117.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.096e-06/7.464, allocations: 3 kB / 3.126 GB, free: 117.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/7.464, allocations: 9.234 kB / 3.126 GB, free: 117.4 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/7.466, allocations: 1.2 MB / 3.127 GB, free: 117 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005878/7.466, allocations: 297.9 kB / 3.127 GB, free: 116.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/7.467, allocations: 2.156 kB / 3.127 GB, free: 116.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/7.468, allocations: 81.05 kB / 3.127 GB, free: 116.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/7.468, allocations: 42.08 kB / 3.127 GB, free: 116.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.418e-05/7.468, allocations: 23.89 kB / 3.127 GB, free: 116.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001092/7.469, allocations: 0.7413 MB / 3.128 GB, free: 116.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/7.469, allocations: 2.875 kB / 3.128 GB, free: 116.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001903/7.471, allocations: 0.506 MB / 3.128 GB, free: 116.7 MB / 0.6667 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.003335/7.474, allocations: 1.829 MB / 3.13 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001323/7.476, allocations: 0.8292 MB / 3.131 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/7.476, allocations: 0 / 3.131 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004026/7.476, allocations: 274.9 kB / 3.131 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/7.478, allocations: 390.1 kB / 3.132 GB, free: 116.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/7.481, allocations: 1.234 MB / 3.133 GB, free: 115.7 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/7.481, allocations: 1.067 MB / 3.134 GB, free: 115 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001874/7.483, allocations: 381.2 kB / 3.134 GB, free: 115 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/7.484, allocations: 70.12 kB / 3.134 GB, free: 115 MB / 0.6667 GB Notification: Performance of SimCode: time 6.21e-07/7.484, allocations: 0 / 3.134 GB, free: 115 MB / 0.6667 GB Notification: Performance of Templates: time 0.04154/7.525, allocations: 27.43 MB / 3.161 GB, free: 113.7 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)