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.001674/0.001674, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8333/0.8333, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 403.4 MB, free: 7.047 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 106.5 kB / 484.3 MB, free: 8.688 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 47.92 kB / 0.5618 GB, free: 71.02 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1292, allocations: 80.21 MB / 0.6402 GB, free: 6.742 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4758/0.605, allocations: 187.4 MB / 0.8232 GB, free: 7.602 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007452/0.6125, allocations: 4.31 MB / 0.8274 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.6138, allocations: 23.81 kB / 0.8275 GB, free: 3.258 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.6153, allocations: 421.6 kB / 0.8279 GB, free: 2.844 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004325/0.6197, allocations: 1.464 MB / 0.8293 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003563/0.6233, allocations: 1.225 MB / 0.8305 GB, free: 168 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003701/0.627, allocations: 2.794 MB / 0.8332 GB, free: 13.36 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.6286, allocations: 0.9305 MB / 0.8341 GB, free: 12.41 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.6303, allocations: 0.8482 MB / 0.8349 GB, free: 11.56 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.6317, allocations: 0.8326 MB / 0.8358 GB, free: 10.73 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002957/0.632, allocations: 68 kB / 0.8358 GB, free: 10.66 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.6345, allocations: 1.376 MB / 0.8372 GB, free: 9.281 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000474/0.635, allocations: 346.8 kB / 0.8375 GB, free: 8.941 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008739/0.6358, allocations: 0.575 MB / 0.8381 GB, free: 8.363 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002591/0.6384, allocations: 1.998 MB / 0.84 GB, free: 6.359 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6385, allocations: 0 / 0.84 GB, free: 6.359 MB / 0.573 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6385, allocations: 0 / 0.84 GB, free: 6.359 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.7e-05/0.6385, allocations: 0 / 0.84 GB, free: 6.359 MB / 0.573 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.004663/0.6432, allocations: 1.724 MB / 0.8417 GB, free: 4.582 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.6432, allocations: 12.03 kB / 0.8417 GB, free: 4.57 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008667/0.6441, allocations: 178.5 kB / 0.8419 GB, free: 4.395 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.6461, allocations: 1.045 MB / 0.8429 GB, free: 3.293 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.6463, allocations: 56.92 kB / 0.843 GB, free: 3.238 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.6464, allocations: 56 kB / 0.843 GB, free: 3.184 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.6477, allocations: 0.6154 MB / 0.8436 GB, free: 2.559 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.6477, allocations: 0 / 0.8436 GB, free: 2.559 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.755e-05/0.6478, allocations: 20 kB / 0.8436 GB, free: 2.539 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.6478, allocations: 20.98 kB / 0.8436 GB, free: 2.52 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.6493, allocations: 0.6285 MB / 0.8443 GB, free: 1.891 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005024/0.6543, allocations: 2.65 MB / 0.8468 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.6555, allocations: 0.5464 MB / 0.8474 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006408/0.6562, allocations: 345.4 kB / 0.8477 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004106/0.6566, allocations: 291.3 kB / 0.848 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.6567, allocations: 34.52 kB / 0.848 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008391/0.6575, allocations: 163.5 kB / 0.8482 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=43): time 5.37e-06/0.6575, allocations: 0 / 0.8482 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=43): time 0.00254/0.6601, allocations: 1.027 MB / 0.8492 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.6601, allocations: 59.41 kB / 0.8492 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.6624, allocations: 1.267 MB / 0.8505 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.966e-05/0.6625, allocations: 37.7 kB / 0.8505 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.6629, allocations: 433.7 kB / 0.8509 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.6631, allocations: 145.8 kB / 0.8511 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.6633, allocations: 125.9 kB / 0.8512 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6635, allocations: 321.9 kB / 0.8515 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006194/0.6641, allocations: 270.2 kB / 0.8517 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008258/0.6649, allocations: 497 kB / 0.8522 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.6662, allocations: 0.5791 MB / 0.8528 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6662, allocations: 4 kB / 0.8528 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001715/0.6679, allocations: 0.7339 MB / 0.8535 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.6679, allocations: 4 kB / 0.8535 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.668, allocations: 4 kB / 0.8535 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.668, allocations: 3.984 kB / 0.8535 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/0.6687, allocations: 123.8 kB / 0.8536 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.6687, allocations: 2.188 kB / 0.8536 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.67, allocations: 107.7 kB / 0.8537 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.925e-05/0.6701, allocations: 23.97 kB / 0.8538 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008682/0.671, allocations: 463.9 kB / 0.8542 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008245/0.6718, allocations: 493.9 kB / 0.8547 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001164/0.673, allocations: 0.5902 MB / 0.8553 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/0.673, allocations: 3.938 kB / 0.8553 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001624/0.6746, allocations: 0.7305 MB / 0.856 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.6746, allocations: 5.562 kB / 0.856 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.6747, allocations: 3.938 kB / 0.856 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.6747, allocations: 4 kB / 0.856 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/0.6753, allocations: 115.8 kB / 0.8561 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.6753, allocations: 0 / 0.8561 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.6768, allocations: 152.2 kB / 0.8562 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/0.6769, allocations: 27.97 kB / 0.8563 GB, free: 5.137 MB / 0.5886 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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 prepare postOptimizeDAE: time 0.0002108/0.6771, allocations: 206.1 kB / 0.8565 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/0.6773, allocations: 102.7 kB / 0.8566 GB, free: 4.828 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/0.6792, allocations: 0.8109 MB / 0.8574 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.6792, allocations: 4 kB / 0.8574 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6792, allocations: 0 / 0.8574 GB, free: 4.004 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.6792, allocations: 4 kB / 0.8574 GB, free: 4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003401/0.6826, allocations: 1.949 MB / 0.8593 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6826, allocations: 4 kB / 0.8593 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000571/0.6832, allocations: 104.2 kB / 0.8594 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.6832, allocations: 19.81 kB / 0.8594 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.6833, allocations: 15.98 kB / 0.8594 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.6833, allocations: 4 kB / 0.8594 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.6833, allocations: 4 kB / 0.8594 GB, free: 1.82 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005606/0.6889, allocations: 3.636 MB / 0.863 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000471/0.6894, allocations: 291.7 kB / 0.8632 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.6895, allocations: 11.98 kB / 0.8632 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.6906, allocations: 75.97 kB / 0.8633 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.6907, allocations: 47.81 kB / 0.8634 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/0.6907, allocations: 20 kB / 0.8634 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001476/0.6922, allocations: 0.9247 MB / 0.8643 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6922, allocations: 0 / 0.8643 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001571/0.6938, allocations: 0.5541 MB / 0.8648 GB, free: 12.07 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.0004689/0.6943, allocations: 220.3 kB / 0.865 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002026/0.6963, allocations: 0.9318 MB / 0.8659 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.6963, allocations: 0 / 0.8659 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006576/0.697, allocations: 340 kB / 0.8663 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002587/0.6996, allocations: 455.4 kB / 0.8667 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.7027, allocations: 2.33 MB / 0.869 GB, free: 7.746 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006495/0.7034, allocations: 1.049 MB / 0.87 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001286/0.7047, allocations: 299 kB / 0.8703 GB, free: 6.371 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/0.7051, allocations: 99.38 kB / 0.8704 GB, free: 6.273 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.7051, allocations: 0 / 0.8704 GB, free: 6.273 MB / 0.6042 GB Notification: Performance of Templates: time 0.03456/0.7396, allocations: 21.29 MB / 0.8912 GB, free: 1.199 MB / 0.6198 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)