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.001188/0.001188, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.001634/0.001634, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3895/0.3895, allocations: 54.98 MB / 325.4 MB, free: 0.7422 MB / 254.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.0005243/0.0005243, allocations: 12 kB / 396.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3344, allocations: 60.73 MB / 457.3 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.1911/0.5256, allocations: 157.8 MB / 0.6007 GB, free: 9.465 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.5372, allocations: 6.923 MB / 0.6075 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.5386, allocations: 27.75 kB / 0.6075 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.5406, allocations: 0.6107 MB / 0.6081 GB, free: 1.906 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004009/0.5446, allocations: 1.208 MB / 0.6093 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006591/0.5512, allocations: 2.092 MB / 0.6113 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002994/0.5542, allocations: 1.441 MB / 0.6127 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.5557, allocations: 0.8899 MB / 0.6136 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/0.5579, allocations: 0.9968 MB / 0.6146 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.5591, allocations: 0.681 MB / 0.6152 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.5593, allocations: 60 kB / 0.6153 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.5608, allocations: 0.5967 MB / 0.6159 GB, free: 9.965 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004067/0.5612, allocations: 378.8 kB / 0.6162 GB, free: 9.594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.5615, allocations: 269.1 kB / 0.6165 GB, free: 9.324 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.5634, allocations: 1.599 MB / 0.618 GB, free: 7.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5634, allocations: 0 / 0.618 GB, free: 7.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5634, allocations: 0 / 0.618 GB, free: 7.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.325e-05/0.5634, allocations: 0 / 0.618 GB, free: 7.73 MB / 494.1 MB 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.003786/0.5672, allocations: 1.535 MB / 0.6195 GB, free: 6.141 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5673, allocations: 12.03 kB / 0.6196 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008965/0.5682, allocations: 194.3 kB / 0.6197 GB, free: 5.938 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.5698, allocations: 0.8542 MB / 0.6206 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.57, allocations: 69.92 kB / 0.6206 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.5701, allocations: 72 kB / 0.6207 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003086/0.5732, allocations: 1.178 MB / 0.6219 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.5732, allocations: 1 kB / 0.6219 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.426e-05/0.5733, allocations: 31.95 kB / 0.6219 GB, free: 3.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.5734, allocations: 16 kB / 0.6219 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003016/0.5764, allocations: 1.066 MB / 0.6229 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005844/0.5822, allocations: 3.213 MB / 0.6261 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/0.5849, allocations: 0.8678 MB / 0.6269 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.585, allocations: 8.891 kB / 0.6269 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.585, allocations: 47 kB / 0.627 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008097/0.5858, allocations: 179.3 kB / 0.6272 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 3.546e-06/0.5858, allocations: 112 / 0.6272 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.005057/0.5909, allocations: 1.594 MB / 0.6287 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.591, allocations: 133 kB / 0.6288 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/0.5927, allocations: 1.201 MB / 0.63 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.5928, allocations: 37.7 kB / 0.63 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/0.5932, allocations: 497.2 kB / 0.6305 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.5934, allocations: 161.6 kB / 0.6307 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.5934, allocations: 8 kB / 0.6307 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5936, allocations: 333.9 kB / 0.631 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.5948, allocations: 448.8 kB / 0.6314 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.5961, allocations: 0.573 MB / 0.632 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.5973, allocations: 485.9 kB / 0.6325 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.5973, allocations: 0 / 0.6325 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002912/0.6002, allocations: 1.157 MB / 0.6336 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003331/0.6006, allocations: 0.5276 MB / 0.6341 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.6006, allocations: 4 kB / 0.6341 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/0.6006, allocations: 8 kB / 0.6341 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.6018, allocations: 204.6 kB / 0.6343 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.6018, allocations: 8.875 kB / 0.6343 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.6033, allocations: 127.7 kB / 0.6344 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/0.6034, allocations: 35.97 kB / 0.6345 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.6034, allocations: 4 kB / 0.6345 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001762/0.6052, allocations: 0.8134 MB / 0.6353 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.6052, allocations: 7.984 kB / 0.6353 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.6052, allocations: 8.109 kB / 0.6353 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007836/0.606, allocations: 162.6 kB / 0.6354 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.606, allocations: 4 kB / 0.6354 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.6072, allocations: 71.94 kB / 0.6355 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/0.6073, allocations: 31.97 kB / 0.6355 GB, free: 5.312 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006426/0.6079, allocations: 364.9 kB / 0.6359 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.6082, allocations: 114.6 kB / 0.636 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.611, allocations: 1.081 MB / 0.6371 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.611, allocations: 8 kB / 0.6371 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.611, allocations: 3.938 kB / 0.6371 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.611, allocations: 3.984 kB / 0.6371 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004186/0.6152, allocations: 2.191 MB / 0.6392 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.6153, allocations: 0 / 0.6392 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009178/0.6162, allocations: 172.1 kB / 0.6394 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.6162, allocations: 7.938 kB / 0.6394 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.157e-05/0.6163, allocations: 19.94 kB / 0.6394 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.836e-06/0.6163, allocations: 7.984 kB / 0.6394 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6163, allocations: 4 kB / 0.6394 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3131/0.9294, allocations: 1.785 MB / 0.6412 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008484/0.9303, allocations: 306.4 kB / 0.6414 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.9305, allocations: 12.75 kB / 0.6415 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.9317, allocations: 118.8 kB / 0.6416 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.9318, allocations: 48.86 kB / 0.6416 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.15e-05/0.9319, allocations: 31.08 kB / 0.6417 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001169/0.9331, allocations: 0.8371 MB / 0.6425 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9331, allocations: 0 / 0.6425 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001502/0.9346, allocations: 0.5033 MB / 0.643 GB, free: 27.27 MB / 0.4981 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 (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.0006172/0.9353, allocations: 233.5 kB / 0.6432 GB, free: 27.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00313/0.9384, allocations: 1.454 MB / 0.6446 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.9384, allocations: 2 kB / 0.6446 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.9395, allocations: 476 kB / 0.6451 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/0.9423, allocations: 0.5367 MB / 0.6456 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007544/0.9498, allocations: 3.13 MB / 0.6486 GB, free: 26.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.9504, allocations: 1.114 MB / 0.6497 GB, free: 25.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001564/0.9519, allocations: 302.1 kB / 0.65 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/0.9523, allocations: 110.8 kB / 0.6501 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of SimCode: time 1.342e-06/0.9523, allocations: 0 / 0.6501 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.04795/1, allocations: 22.98 MB / 0.6726 GB, free: 20.16 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Dampers.Examples.MixingBox.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: