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.001798/0.001798, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002273/0.002273, allocations: 195.5 kB / 16.14 MB, free: 6.707 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.033/1.033, allocations: 135.6 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 72.33 kB / 0.5052 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1761, allocations: 81.02 MB / 0.5843 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4936/0.6697, allocations: 187.4 MB / 0.7674 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00828/0.6781, allocations: 4.317 MB / 0.7716 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.6797, allocations: 27.81 kB / 0.7716 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.6814, allocations: 413.7 kB / 0.772 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004075/0.6855, allocations: 1.464 MB / 0.7734 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003471/0.689, allocations: 1.225 MB / 0.7746 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004042/0.693, allocations: 2.782 MB / 0.7773 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.6946, allocations: 0.9321 MB / 0.7783 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.6965, allocations: 0.8365 MB / 0.7791 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.6979, allocations: 0.8404 MB / 0.7799 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.6981, allocations: 68 kB / 0.78 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003391/0.7015, allocations: 1.368 MB / 0.7813 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004458/0.702, allocations: 350.7 kB / 0.7816 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007758/0.7028, allocations: 0.575 MB / 0.7822 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002892/0.7057, allocations: 1.994 MB / 0.7841 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.7057, allocations: 3.938 kB / 0.7841 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7057, allocations: 0 / 0.7841 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.7057, allocations: 0 / 0.7841 GB, free: 15.96 MB / 0.6075 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.004876/0.7106, allocations: 1.726 MB / 0.7858 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.7107, allocations: 12.03 kB / 0.7858 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009916/0.7117, allocations: 178.5 kB / 0.786 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/0.7137, allocations: 1.045 MB / 0.787 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.7139, allocations: 54.42 kB / 0.7871 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.714, allocations: 59.98 kB / 0.7871 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.7154, allocations: 0.6192 MB / 0.7877 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.7154, allocations: 3.984 kB / 0.7877 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.839e-05/0.7155, allocations: 20 kB / 0.7878 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/0.7155, allocations: 17 kB / 0.7878 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.7169, allocations: 0.6207 MB / 0.7884 GB, free: 11.49 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.004572/0.7215, allocations: 2.65 MB / 0.791 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.7227, allocations: 0.549 MB / 0.7915 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000696/0.7234, allocations: 349.4 kB / 0.7918 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004669/0.7239, allocations: 287.3 kB / 0.7921 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.724, allocations: 42.5 kB / 0.7922 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008036/0.7248, allocations: 159.5 kB / 0.7923 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.755e-06/0.7248, allocations: 0 / 0.7923 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002584/0.7274, allocations: 1.013 MB / 0.7933 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.7275, allocations: 63.41 kB / 0.7934 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.7297, allocations: 1.267 MB / 0.7946 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.738e-05/0.7298, allocations: 37.7 kB / 0.7946 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004262/0.7302, allocations: 437.7 kB / 0.795 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.7304, allocations: 149.8 kB / 0.7952 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.7306, allocations: 117.9 kB / 0.7953 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.7308, allocations: 325.9 kB / 0.7956 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000615/0.7314, allocations: 270.2 kB / 0.7959 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008753/0.7323, allocations: 489.3 kB / 0.7963 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.7336, allocations: 0.5841 MB / 0.7969 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.7337, allocations: 4 kB / 0.7969 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001691/0.7353, allocations: 0.734 MB / 0.7976 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.7354, allocations: 4 kB / 0.7976 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.7354, allocations: 4 kB / 0.7976 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.7354, allocations: 4 kB / 0.7976 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/0.7361, allocations: 123.8 kB / 0.7978 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.7361, allocations: 3.938 kB / 0.7978 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.7375, allocations: 123 kB / 0.7979 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/0.7376, allocations: 23.97 kB / 0.7979 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009062/0.7385, allocations: 469.4 kB / 0.7984 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008058/0.7393, allocations: 483.9 kB / 0.7988 GB, free: 380 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001227/0.7406, allocations: 0.5853 MB / 0.7994 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.048e-06/0.7406, allocations: 3.938 kB / 0.7994 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001692/0.7423, allocations: 0.7344 MB / 0.8001 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.7423, allocations: 4 kB / 0.8001 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.7423, allocations: 0 / 0.8001 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.532e-06/0.7423, allocations: 4 kB / 0.8001 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006624/0.743, allocations: 119.8 kB / 0.8002 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.743, allocations: 4.859 kB / 0.8002 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.7445, allocations: 128.3 kB / 0.8004 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/0.7445, allocations: 27.97 kB / 0.8004 GB, free: 14.75 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.0002424/0.7448, allocations: 208.1 kB / 0.8006 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.745, allocations: 102.7 kB / 0.8007 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.7469, allocations: 0.8122 MB / 0.8015 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.7469, allocations: 4 kB / 0.8015 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.7469, allocations: 4 kB / 0.8015 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.7469, allocations: 3.984 kB / 0.8015 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/0.7503, allocations: 1.949 MB / 0.8034 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.7503, allocations: 0 / 0.8034 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006132/0.751, allocations: 112.1 kB / 0.8035 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.751, allocations: 7.938 kB / 0.8035 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/0.751, allocations: 16 kB / 0.8035 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/0.751, allocations: 7.938 kB / 0.8035 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.7511, allocations: 4 kB / 0.8035 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.7533, allocations: 1.233 MB / 0.8047 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005223/0.7538, allocations: 295.5 kB / 0.805 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.754, allocations: 12 kB / 0.805 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.755, allocations: 71.97 kB / 0.8051 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.7552, allocations: 43.94 kB / 0.8051 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.7552, allocations: 23.92 kB / 0.8052 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001551/0.7568, allocations: 0.9208 MB / 0.8061 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.7568, allocations: 0 / 0.8061 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001239/0.758, allocations: 407.4 kB / 0.8064 GB, free: 8.367 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.0005478/0.7586, allocations: 230.9 kB / 0.8067 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002051/0.7607, allocations: 0.9279 MB / 0.8076 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.7607, allocations: 0 / 0.8076 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007103/0.7614, allocations: 339.6 kB / 0.8079 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/0.7638, allocations: 463.6 kB / 0.8083 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/0.7669, allocations: 1.995 MB / 0.8103 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006928/0.7676, allocations: 1.045 MB / 0.8113 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001274/0.7689, allocations: 291 kB / 0.8116 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003672/0.7693, allocations: 95.39 kB / 0.8117 GB, free: 2.926 MB / 0.6231 GB Notification: Performance of SimCode: time 9.62e-07/0.7693, allocations: 4 kB / 0.8117 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of Templates: time 0.03777/0.8071, allocations: 20.56 MB / 0.8318 GB, free: 14.63 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)