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/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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008569/0.0008568, allocations: 100 kB / 15.05 MB, free: 1.105 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.0008436/0.0008436, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8675/0.8675, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003174, allocations: 8 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1515, allocations: 82.33 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4305/0.582, allocations: 157.6 MB / 0.7411 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007095/0.5892, allocations: 4.141 MB / 0.7452 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.5905, allocations: 21.38 kB / 0.7452 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.592, allocations: 462.2 kB / 0.7456 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004512/0.5965, allocations: 1.477 MB / 0.7471 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.5991, allocations: 0.9062 MB / 0.748 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002254/0.6014, allocations: 1.295 MB / 0.7492 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.6025, allocations: 0.8687 MB / 0.7501 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.6038, allocations: 0.8449 MB / 0.7509 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007432/0.6046, allocations: 0.6383 MB / 0.7515 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.6047, allocations: 56 kB / 0.7516 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.6067, allocations: 0.6553 MB / 0.7522 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004022/0.6071, allocations: 322.9 kB / 0.7525 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002633/0.6074, allocations: 225.1 kB / 0.7527 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.6091, allocations: 1.407 MB / 0.7541 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6091, allocations: 4 kB / 0.7541 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6091, allocations: 0 / 0.7541 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.6091, allocations: 0 / 0.7541 GB, free: 1.645 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003894/0.613, allocations: 1.493 MB / 0.7556 GB, free: 104 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.6131, allocations: 12.03 kB / 0.7556 GB, free: 92 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008378/0.6139, allocations: 186.1 kB / 0.7558 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.6157, allocations: 0.9992 MB / 0.7567 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.6158, allocations: 52.98 kB / 0.7568 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.6159, allocations: 56 kB / 0.7568 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.6171, allocations: 0.6193 MB / 0.7574 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.6171, allocations: 0 / 0.7574 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.762e-05/0.6172, allocations: 23.98 kB / 0.7575 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/0.6172, allocations: 17 kB / 0.7575 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.6184, allocations: 0.6519 MB / 0.7581 GB, free: 13.43 MB / 0.5762 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.003783/0.6222, allocations: 2.662 MB / 0.7607 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.6233, allocations: 0.5686 MB / 0.7613 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.956e-05/0.6234, allocations: 23.91 kB / 0.7613 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.6234, allocations: 39.28 kB / 0.7613 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006172/0.624, allocations: 167.4 kB / 0.7615 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.624, allocations: 0 / 0.7615 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.002136/0.6262, allocations: 1.047 MB / 0.7625 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.6262, allocations: 55.41 kB / 0.7626 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.6281, allocations: 1.259 MB / 0.7638 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/0.6281, allocations: 41.7 kB / 0.7638 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.6285, allocations: 437.7 kB / 0.7643 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.6286, allocations: 153.7 kB / 0.7644 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.6287, allocations: 8 kB / 0.7644 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6288, allocations: 322 kB / 0.7647 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/0.6293, allocations: 276.5 kB / 0.765 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007094/0.6301, allocations: 481.4 kB / 0.7654 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005874/0.6307, allocations: 323.6 kB / 0.7657 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.6307, allocations: 0 / 0.7657 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001368/0.632, allocations: 0.7495 MB / 0.7665 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.944e-05/0.6321, allocations: 101.4 kB / 0.7666 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.6321, allocations: 0 / 0.7666 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.865e-06/0.6321, allocations: 4 kB / 0.7666 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/0.6327, allocations: 127.8 kB / 0.7667 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.6328, allocations: 4 kB / 0.7667 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.6339, allocations: 119.5 kB / 0.7668 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.634, allocations: 27.97 kB / 0.7668 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-06/0.634, allocations: 4 kB / 0.7668 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001211/0.6352, allocations: 0.632 MB / 0.7675 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/0.6352, allocations: 0 / 0.7675 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-06/0.6352, allocations: 4 kB / 0.7675 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/0.6358, allocations: 123.8 kB / 0.7676 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.6358, allocations: 0 / 0.7676 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.6369, allocations: 127.2 kB / 0.7677 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/0.637, allocations: 35.89 kB / 0.7677 GB, free: 3.277 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003941/0.6374, allocations: 333 kB / 0.7681 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.6375, allocations: 98.78 kB / 0.7682 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.6391, allocations: 0.8226 MB / 0.769 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.6392, allocations: 8 kB / 0.769 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.6392, allocations: 4 kB / 0.769 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.6392, allocations: 3.984 kB / 0.769 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.6422, allocations: 1.985 MB / 0.7709 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.6422, allocations: 3.953 kB / 0.7709 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005335/0.6427, allocations: 118.1 kB / 0.771 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.6427, allocations: 8 kB / 0.771 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.6428, allocations: 12 kB / 0.771 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.6428, allocations: 4 kB / 0.7711 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.6428, allocations: 7.938 kB / 0.7711 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.6448, allocations: 1.383 MB / 0.7724 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004267/0.6453, allocations: 291.6 kB / 0.7727 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.6454, allocations: 12 kB / 0.7727 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009202/0.6463, allocations: 87.81 kB / 0.7728 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.6464, allocations: 43.89 kB / 0.7728 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.6465, allocations: 20 kB / 0.7728 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001313/0.6478, allocations: 0.9091 MB / 0.7737 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6478, allocations: 4 kB / 0.7737 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001016/0.6488, allocations: 403.4 kB / 0.7741 GB, free: 12.52 MB / 0.5919 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 (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.0004185/0.6493, allocations: 218.9 kB / 0.7743 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00184/0.6511, allocations: 0.964 MB / 0.7753 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6511, allocations: 0 / 0.7753 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006181/0.6517, allocations: 352.1 kB / 0.7756 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/0.6538, allocations: 456 kB / 0.776 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.6564, allocations: 1.945 MB / 0.7779 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005899/0.657, allocations: 1.065 MB / 0.779 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001089/0.6581, allocations: 291 kB / 0.7793 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.6584, allocations: 95.38 kB / 0.7794 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/0.6584, allocations: 0 / 0.7794 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of Templates: time 0.03089/0.6893, allocations: 19.75 MB / 0.7986 GB, free: 3.641 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: