Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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: translateModel(Annex60.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Annex60.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00501/0.005011, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001344/0.001344, allocations: 202.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.181/1.181, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2558/0.2558, allocations: 54.96 MB / 324.9 MB, free: 4.855 MB / 270.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 83.81 kB / 456.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.09946, allocations: 59.59 MB / 0.5037 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.3778/0.4773, allocations: 189.9 MB / 0.6891 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009908/0.4872, allocations: 7.119 MB / 0.6961 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000988/0.4883, allocations: 31.75 kB / 0.6961 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.4899, allocations: 0.6679 MB / 0.6968 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.4925, allocations: 1.271 MB / 0.698 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00595/0.4985, allocations: 2.691 MB / 0.7006 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003236/0.5017, allocations: 2.58 MB / 0.7032 GB, free: 4.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.5031, allocations: 1.104 MB / 0.7042 GB, free: 3.406 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.5046, allocations: 1.144 MB / 0.7054 GB, free: 2.258 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009908/0.5056, allocations: 0.9534 MB / 0.7063 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00021/0.5059, allocations: 148 kB / 0.7064 GB, free: 1.156 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.5075, allocations: 1.018 MB / 0.7074 GB, free: 140 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004069/0.5079, allocations: 486.6 kB / 0.7079 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006272/0.5086, allocations: 0.731 MB / 0.7086 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002262/0.5108, allocations: 2.196 MB / 0.7107 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5109, allocations: 0 / 0.7107 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5109, allocations: 0 / 0.7107 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.5109, allocations: 0 / 0.7107 GB, free: 12.72 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.003614/0.5145, allocations: 1.844 MB / 0.7125 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.5146, allocations: 12.02 kB / 0.7126 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008002/0.5154, allocations: 199.1 kB / 0.7127 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.5166, allocations: 0.9284 MB / 0.7137 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.836e-05/0.5167, allocations: 61.94 kB / 0.7137 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.5168, allocations: 76 kB / 0.7138 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/0.5195, allocations: 1.135 MB / 0.7149 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.5195, allocations: 0 / 0.7149 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.847e-05/0.5196, allocations: 32 kB / 0.7149 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.5196, allocations: 16 kB / 0.7149 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/0.5223, allocations: 1.007 MB / 0.7159 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004915/0.5272, allocations: 3.202 MB / 0.719 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/0.5296, allocations: 0.824 MB / 0.7199 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006042/0.5302, allocations: 354 kB / 0.7202 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.5303, allocations: 8.891 kB / 0.7202 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.5303, allocations: 46.94 kB / 0.7202 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006835/0.531, allocations: 163.4 kB / 0.7204 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.906e-06/0.531, allocations: 0 / 0.7204 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47): time 0.004426/0.5354, allocations: 1.486 MB / 0.7219 GB, free: 1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/0.5355, allocations: 133 kB / 0.722 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.5371, allocations: 1.205 MB / 0.7232 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.409e-05/0.5371, allocations: 37.81 kB / 0.7232 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003552/0.5375, allocations: 0.4976 MB / 0.7237 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.5376, allocations: 174.5 kB / 0.7238 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.5379, allocations: 138.1 kB / 0.724 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.538, allocations: 330 kB / 0.7243 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.539, allocations: 430.8 kB / 0.7247 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.5401, allocations: 0.5495 MB / 0.7252 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/0.5421, allocations: 0.8744 MB / 0.7261 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5421, allocations: 7.938 kB / 0.7261 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002472/0.5446, allocations: 1.103 MB / 0.7272 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5446, allocations: 4 kB / 0.7272 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.5446, allocations: 7.984 kB / 0.7272 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.5446, allocations: 8.031 kB / 0.7272 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000954/0.5456, allocations: 188.6 kB / 0.7274 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.5456, allocations: 4 kB / 0.7274 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.5468, allocations: 83.91 kB / 0.7275 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-05/0.5469, allocations: 35.95 kB / 0.7275 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009099/0.5478, allocations: 0.5478 MB / 0.728 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007012/0.5485, allocations: 475 kB / 0.7285 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001236/0.5497, allocations: 0.7282 MB / 0.7292 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.5497, allocations: 0 / 0.7292 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001681/0.5514, allocations: 0.9296 MB / 0.7301 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.5515, allocations: 4 kB / 0.7301 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.5515, allocations: 4 kB / 0.7301 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5515, allocations: 4 kB / 0.7301 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007294/0.5522, allocations: 152.9 kB / 0.7303 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.5523, allocations: 4.156 kB / 0.7303 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.5533, allocations: 71.83 kB / 0.7303 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.5534, allocations: 27.92 kB / 0.7304 GB, free: 8.066 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000313/0.5537, allocations: 216.9 kB / 0.7306 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003054/0.554, allocations: 127.2 kB / 0.7307 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/0.5566, allocations: 1.022 MB / 0.7317 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.5566, allocations: 8 kB / 0.7317 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5566, allocations: 0 / 0.7317 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.5567, allocations: 7.922 kB / 0.7317 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003729/0.5604, allocations: 2.138 MB / 0.7338 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.5604, allocations: 8.062 kB / 0.7338 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008036/0.5612, allocations: 147.8 kB / 0.7339 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/0.5612, allocations: 4 kB / 0.7339 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.5613, allocations: 19.98 kB / 0.734 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.5613, allocations: 7.938 kB / 0.734 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5613, allocations: 8 kB / 0.734 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.5646, allocations: 1.607 MB / 0.7355 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000499/0.5651, allocations: 308.2 kB / 0.7358 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.5653, allocations: 20.06 kB / 0.7359 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.5664, allocations: 79.91 kB / 0.7359 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.5665, allocations: 52.31 kB / 0.736 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.603e-05/0.5666, allocations: 31.97 kB / 0.736 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001117/0.5677, allocations: 0.8409 MB / 0.7368 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5677, allocations: 0 / 0.7368 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001358/0.5691, allocations: 0.5188 MB / 0.7373 GB, free: 0.7461 MB / 0.5762 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 (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005932/0.5697, allocations: 243.4 kB / 0.7376 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003083/0.5728, allocations: 1.389 MB / 0.7389 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.5728, allocations: 0 / 0.7389 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.5738, allocations: 451.2 kB / 0.7394 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/0.5761, allocations: 0.5118 MB / 0.7399 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006847/0.583, allocations: 2.681 MB / 0.7425 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006328/0.5836, allocations: 1.089 MB / 0.7435 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001139/0.5848, allocations: 304.1 kB / 0.7438 GB, free: 10 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/0.5852, allocations: 107.4 kB / 0.7439 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.5852, allocations: 0 / 0.7439 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of Templates: time 0.3045/0.8897, allocations: 24.79 MB / 0.7681 GB, free: 93.82 MB / 0.5919 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)