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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001361/0.001361, allocations: 195.9 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9697/0.9697, allocations: 135.6 MB / 425.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 65.55 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.17, allocations: 81.03 MB / 0.5845 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.5034/0.6734, allocations: 187.2 MB / 0.7673 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008044/0.6815, allocations: 4.257 MB / 0.7715 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.6828, allocations: 27.81 kB / 0.7715 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.6844, allocations: 437.6 kB / 0.7719 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00413/0.6886, allocations: 1.467 MB / 0.7733 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003415/0.692, allocations: 1.234 MB / 0.7745 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003195/0.6952, allocations: 2.264 MB / 0.7768 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.697, allocations: 1.054 MB / 0.7778 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.6989, allocations: 0.977 MB / 0.7787 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.7005, allocations: 0.8912 MB / 0.7796 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004257/0.7009, allocations: 144 kB / 0.7798 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.7034, allocations: 1.278 MB / 0.781 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006009/0.704, allocations: 426.7 kB / 0.7814 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009648/0.705, allocations: 0.6453 MB / 0.782 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.7076, allocations: 2.037 MB / 0.784 GB, free: 116 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7076, allocations: 0 / 0.784 GB, free: 116 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7076, allocations: 0 / 0.784 GB, free: 116 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.7077, allocations: 0 / 0.784 GB, free: 116 kB / 0.5919 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.004158/0.7118, allocations: 1.734 MB / 0.7857 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.7119, allocations: 12.03 kB / 0.7857 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007829/0.7127, allocations: 178.5 kB / 0.7859 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.7143, allocations: 1.041 MB / 0.7869 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.7145, allocations: 54.42 kB / 0.787 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.7146, allocations: 60 kB / 0.787 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.7158, allocations: 0.6115 MB / 0.7876 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.7158, allocations: 0 / 0.7876 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.506e-05/0.7159, allocations: 23.98 kB / 0.7876 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/0.7159, allocations: 17 kB / 0.7877 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.7173, allocations: 0.6284 MB / 0.7883 GB, free: 11.65 MB / 0.6075 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.004198/0.7215, allocations: 2.665 MB / 0.7909 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.7227, allocations: 0.54 MB / 0.7914 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006371/0.7233, allocations: 345.4 kB / 0.7917 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004321/0.7237, allocations: 295.3 kB / 0.792 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.7238, allocations: 42.45 kB / 0.7921 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007571/0.7245, allocations: 151.5 kB / 0.7922 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.345e-06/0.7246, allocations: 0 / 0.7922 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002335/0.7269, allocations: 1.025 MB / 0.7932 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.727, allocations: 55.41 kB / 0.7933 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.729, allocations: 1.271 MB / 0.7945 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.588e-05/0.7291, allocations: 37.7 kB / 0.7945 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.7295, allocations: 433.7 kB / 0.7949 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.7297, allocations: 149.8 kB / 0.7951 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.7299, allocations: 121.9 kB / 0.7952 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.7301, allocations: 325.9 kB / 0.7955 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005637/0.7306, allocations: 268.7 kB / 0.7958 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007837/0.7314, allocations: 489.3 kB / 0.7962 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.7326, allocations: 0.588 MB / 0.7968 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7326, allocations: 0 / 0.7968 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001529/0.7342, allocations: 0.7339 MB / 0.7975 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.7342, allocations: 6.188 kB / 0.7975 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.7342, allocations: 4 kB / 0.7975 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.7342, allocations: 4 kB / 0.7975 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.7349, allocations: 123.8 kB / 0.7977 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.7349, allocations: 4.703 kB / 0.7977 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.7361, allocations: 115.1 kB / 0.7978 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/0.7362, allocations: 23.97 kB / 0.7978 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008119/0.737, allocations: 469.4 kB / 0.7982 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007527/0.7378, allocations: 483.1 kB / 0.7987 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00113/0.7389, allocations: 0.5854 MB / 0.7993 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.985e-06/0.7389, allocations: 3.938 kB / 0.7993 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0015/0.7405, allocations: 0.7344 MB / 0.8 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.7405, allocations: 4 kB / 0.8 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/0.7405, allocations: 3.938 kB / 0.8 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/0.7405, allocations: 4 kB / 0.8 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006103/0.7411, allocations: 115.8 kB / 0.8001 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.7411, allocations: 4 kB / 0.8001 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.7424, allocations: 132.3 kB / 0.8003 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.242e-05/0.7425, allocations: 23.97 kB / 0.8003 GB, free: 14.91 MB / 0.6231 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.0002299/0.7427, allocations: 208.1 kB / 0.8005 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.7429, allocations: 106.7 kB / 0.8006 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.7447, allocations: 0.8003 MB / 0.8014 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.7447, allocations: 15.98 kB / 0.8014 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.7447, allocations: 3.188 kB / 0.8014 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.7448, allocations: 0 / 0.8014 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003117/0.7479, allocations: 1.95 MB / 0.8033 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.7479, allocations: 4.031 kB / 0.8033 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/0.7485, allocations: 111.8 kB / 0.8034 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.7485, allocations: 7.938 kB / 0.8034 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.492e-05/0.7485, allocations: 19.98 kB / 0.8034 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.7486, allocations: 4 kB / 0.8034 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.7486, allocations: 4 kB / 0.8034 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/0.7508, allocations: 1.233 MB / 0.8046 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004649/0.7513, allocations: 291.5 kB / 0.8049 GB, free: 10 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.7515, allocations: 16.06 kB / 0.8049 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.7526, allocations: 75.91 kB / 0.805 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.7527, allocations: 43.88 kB / 0.805 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/0.7528, allocations: 16 kB / 0.8051 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001551/0.7543, allocations: 0.9247 MB / 0.806 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7543, allocations: 0 / 0.806 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00125/0.7556, allocations: 403.4 kB / 0.8063 GB, free: 8.527 MB / 0.6231 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.0005658/0.7562, allocations: 229.1 kB / 0.8066 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002253/0.7584, allocations: 0.9864 MB / 0.8075 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.7584, allocations: 8 kB / 0.8075 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006673/0.7591, allocations: 331.6 kB / 0.8078 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.7611, allocations: 434.5 kB / 0.8083 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.7641, allocations: 1.998 MB / 0.8102 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/0.7648, allocations: 1.053 MB / 0.8112 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001214/0.7661, allocations: 295.9 kB / 0.8115 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000367/0.7664, allocations: 95.39 kB / 0.8116 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of SimCode: time 5.51e-07/0.7665, allocations: 3.938 kB / 0.8116 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of Templates: time 0.03854/0.805, allocations: 21.05 MB / 0.8322 GB, free: 14.3 MB / 0.6544 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)