Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001703/0.001703, allocations: 182.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-master/package.mo): time 0.7071/0.7071, allocations: 133.3 MB / 150.1 MB, free: 11.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.415/1.415, allocations: 222.9 MB / 404.7 MB, free: 6.137 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.00114/0.00114, allocations: 106.7 kB / 485.9 MB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001078, allocations: 51.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1231, allocations: 80.42 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.456/0.5791, allocations: 187.4 MB / 0.8252 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00676/0.5859, allocations: 4.324 MB / 0.8294 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000946/0.5869, allocations: 31.75 kB / 0.8294 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.5881, allocations: 417.6 kB / 0.8298 GB, free: 0.9531 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003477/0.5916, allocations: 1.468 MB / 0.8313 GB, free: 15.48 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.5949, allocations: 1.22 MB / 0.8325 GB, free: 14.27 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003347/0.5982, allocations: 2.792 MB / 0.8352 GB, free: 11.48 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.5996, allocations: 0.9382 MB / 0.8361 GB, free: 10.52 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.601, allocations: 0.8404 MB / 0.8369 GB, free: 9.68 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.602, allocations: 0.8365 MB / 0.8377 GB, free: 8.84 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.6022, allocations: 72 kB / 0.8378 GB, free: 8.77 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/0.6044, allocations: 1.372 MB / 0.8391 GB, free: 7.395 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003418/0.6048, allocations: 354.7 kB / 0.8395 GB, free: 7.047 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005693/0.6054, allocations: 0.5672 MB / 0.84 GB, free: 6.477 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.6074, allocations: 1.99 MB / 0.842 GB, free: 4.48 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6074, allocations: 4 kB / 0.842 GB, free: 4.477 MB / 0.573 GB Notification: Performance of FrontEnd: time 7.62e-07/0.6074, allocations: 0 / 0.842 GB, free: 4.477 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.6074, allocations: 0 / 0.842 GB, free: 4.477 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.003856/0.6113, allocations: 1.736 MB / 0.8437 GB, free: 2.688 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.6113, allocations: 8.031 kB / 0.8437 GB, free: 2.68 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007205/0.612, allocations: 178.5 kB / 0.8439 GB, free: 2.504 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.6137, allocations: 1.037 MB / 0.8449 GB, free: 1.41 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.6138, allocations: 56.92 kB / 0.8449 GB, free: 1.352 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.614, allocations: 64 kB / 0.845 GB, free: 1.289 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.6151, allocations: 0.6076 MB / 0.8456 GB, free: 0.6758 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.6151, allocations: 0 / 0.8456 GB, free: 0.6758 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-05/0.6151, allocations: 24 kB / 0.8456 GB, free: 0.6523 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.6152, allocations: 17 kB / 0.8456 GB, free: 0.6367 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.6164, allocations: 0.6324 MB / 0.8462 GB, free: 4 kB / 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.003877/0.6203, allocations: 2.65 MB / 0.8488 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.6214, allocations: 0.5451 MB / 0.8494 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006145/0.6221, allocations: 351.4 kB / 0.8497 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003716/0.6224, allocations: 291.3 kB / 0.85 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.6225, allocations: 42.5 kB / 0.85 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006582/0.6231, allocations: 159.5 kB / 0.8502 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=43): time 2.144e-06/0.6232, allocations: 0 / 0.8502 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=43): time 0.00227/0.6254, allocations: 1.019 MB / 0.8512 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.6255, allocations: 55.41 kB / 0.8512 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.6273, allocations: 1.267 MB / 0.8524 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.317e-05/0.6274, allocations: 45.7 kB / 0.8525 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003274/0.6277, allocations: 429.7 kB / 0.8529 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.6278, allocations: 157.8 kB / 0.853 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.6281, allocations: 121.9 kB / 0.8532 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.6282, allocations: 321.9 kB / 0.8535 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005567/0.6287, allocations: 278.2 kB / 0.8537 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007573/0.6295, allocations: 486.5 kB / 0.8542 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.6307, allocations: 0.5869 MB / 0.8548 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6307, allocations: 0 / 0.8548 GB, free: 6.902 MB / 0.5886 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001478/0.6322, allocations: 0.734 MB / 0.8555 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.6322, allocations: 8 kB / 0.8555 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6322, allocations: 0 / 0.8555 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.6322, allocations: 0 / 0.8555 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006506/0.6329, allocations: 119.8 kB / 0.8556 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.6329, allocations: 0 / 0.8556 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.634, allocations: 112.6 kB / 0.8557 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/0.6341, allocations: 27.97 kB / 0.8557 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007914/0.6349, allocations: 469.2 kB / 0.8562 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007258/0.6356, allocations: 481.9 kB / 0.8567 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001117/0.6368, allocations: 0.5882 MB / 0.8572 GB, free: 4.293 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.177e-06/0.6368, allocations: 3.938 kB / 0.8572 GB, free: 4.289 MB / 0.5886 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001445/0.6382, allocations: 0.7336 MB / 0.8579 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.6383, allocations: 4 kB / 0.858 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.6383, allocations: 4 kB / 0.858 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-06/0.6383, allocations: 0 / 0.858 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.6389, allocations: 127.8 kB / 0.8581 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.6389, allocations: 0 / 0.8581 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.6401, allocations: 132.3 kB / 0.8582 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.231e-05/0.6402, allocations: 25.06 kB / 0.8582 GB, free: 3.266 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.0001891/0.6404, allocations: 212.1 kB / 0.8584 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.6406, allocations: 102.7 kB / 0.8585 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/0.6423, allocations: 0.8109 MB / 0.8593 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.6423, allocations: 4 kB / 0.8593 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.6423, allocations: 0 / 0.8593 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.6424, allocations: 7.922 kB / 0.8593 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.6454, allocations: 1.946 MB / 0.8612 GB, free: 92 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.6454, allocations: 4 kB / 0.8612 GB, free: 88 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005545/0.646, allocations: 115.8 kB / 0.8613 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.892e-06/0.646, allocations: 7.938 kB / 0.8614 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.646, allocations: 12 kB / 0.8614 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.6461, allocations: 4 kB / 0.8614 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6461, allocations: 7.938 kB / 0.8614 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004888/0.651, allocations: 3.64 MB / 0.8649 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004329/0.6514, allocations: 299.7 kB / 0.8652 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.6515, allocations: 12 kB / 0.8652 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000938/0.6525, allocations: 71.91 kB / 0.8653 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.6526, allocations: 35.89 kB / 0.8653 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/0.6526, allocations: 24.08 kB / 0.8654 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001315/0.654, allocations: 0.9247 MB / 0.8663 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.654, allocations: 0 / 0.8663 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00142/0.6554, allocations: 0.5541 MB / 0.8668 GB, free: 10.19 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.0004398/0.6558, allocations: 225.1 kB / 0.867 GB, free: 9.969 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001947/0.6578, allocations: 0.9279 MB / 0.8679 GB, free: 9.039 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6578, allocations: 0 / 0.8679 GB, free: 9.039 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006193/0.6584, allocations: 335.6 kB / 0.8682 GB, free: 8.711 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.6608, allocations: 466.9 kB / 0.8687 GB, free: 8.262 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/0.6638, allocations: 2.322 MB / 0.8709 GB, free: 5.855 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007345/0.6646, allocations: 1.061 MB / 0.872 GB, free: 4.762 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001218/0.6658, allocations: 287.1 kB / 0.8723 GB, free: 4.477 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/0.6662, allocations: 99.38 kB / 0.8724 GB, free: 4.383 MB / 0.6042 GB Notification: Performance of SimCode: time 6.71e-07/0.6662, allocations: 0 / 0.8724 GB, free: 4.383 MB / 0.6042 GB Notification: Performance of Templates: time 0.03219/0.6984, allocations: 21.28 MB / 0.8931 GB, free: 15.32 MB / 0.6355 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)