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.001899/0.001899, 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.002912/0.002911, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.528/1.528, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.086/1.086, allocations: 135.1 MB / 425.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.48 kB / 0.5047 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1928, allocations: 80.92 MB / 0.5837 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6234/0.8163, allocations: 187.4 MB / 0.7667 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008975/0.8253, allocations: 4.305 MB / 0.7709 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/0.8274, allocations: 27.81 kB / 0.771 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.8293, allocations: 421.6 kB / 0.7714 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005278/0.8346, allocations: 1.455 MB / 0.7728 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004311/0.8389, allocations: 1.228 MB / 0.774 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004324/0.8432, allocations: 2.78 MB / 0.7767 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.8452, allocations: 0.9312 MB / 0.7776 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.8476, allocations: 0.8364 MB / 0.7784 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.8494, allocations: 0.8404 MB / 0.7793 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005409/0.85, allocations: 68 kB / 0.7793 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003665/0.8537, allocations: 1.376 MB / 0.7807 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.8548, allocations: 354.7 kB / 0.781 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001886/0.8567, allocations: 0.5672 MB / 0.7816 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00424/0.8609, allocations: 1.994 MB / 0.7835 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.861, allocations: 0 / 0.7835 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.994e-06/0.861, allocations: 4 kB / 0.7835 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.865e-05/0.8611, allocations: 4 kB / 0.7835 GB, free: 0.8125 MB / 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.006529/0.8676, allocations: 1.724 MB / 0.7852 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.8677, allocations: 15.97 kB / 0.7852 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.869, allocations: 178.5 kB / 0.7854 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002701/0.8717, allocations: 1.045 MB / 0.7864 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.8719, allocations: 52.92 kB / 0.7865 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.8721, allocations: 56 kB / 0.7865 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.8737, allocations: 0.6115 MB / 0.7871 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.8737, allocations: 4 kB / 0.7871 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.687e-05/0.8738, allocations: 20 kB / 0.7871 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.8738, allocations: 17 kB / 0.7871 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.8753, allocations: 0.6246 MB / 0.7878 GB, free: 12.36 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.005374/0.8806, allocations: 2.658 MB / 0.7903 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.8819, allocations: 0.5373 MB / 0.7909 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006965/0.8826, allocations: 347.6 kB / 0.7912 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004773/0.8831, allocations: 295.3 kB / 0.7915 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/0.8832, allocations: 42.45 kB / 0.7915 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001039/0.8842, allocations: 167.5 kB / 0.7917 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 7.875e-06/0.8842, allocations: 0 / 0.7917 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002775/0.887, allocations: 1.017 MB / 0.7927 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.8871, allocations: 59.41 kB / 0.7927 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002583/0.8897, allocations: 1.271 MB / 0.794 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.8898, allocations: 37.7 kB / 0.794 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/0.8903, allocations: 433.7 kB / 0.7944 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.8905, allocations: 149.8 kB / 0.7946 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.8908, allocations: 117.9 kB / 0.7947 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.8909, allocations: 329.9 kB / 0.795 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006109/0.8915, allocations: 266.2 kB / 0.7953 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008426/0.8924, allocations: 489.3 kB / 0.7957 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.8936, allocations: 0.5841 MB / 0.7963 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.8936, allocations: 0 / 0.7963 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001824/0.8955, allocations: 0.7378 MB / 0.797 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.8955, allocations: 4 kB / 0.797 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.8955, allocations: 4 kB / 0.797 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.8955, allocations: 0 / 0.797 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007057/0.8962, allocations: 127.8 kB / 0.7971 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.8963, allocations: 0 / 0.7971 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.898, allocations: 115.4 kB / 0.7972 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-05/0.8981, allocations: 19.97 kB / 0.7973 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001037/0.8992, allocations: 463.9 kB / 0.7977 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008706/0.9001, allocations: 494.6 kB / 0.7982 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001237/0.9013, allocations: 0.5929 MB / 0.7988 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.641e-06/0.9013, allocations: 3.938 kB / 0.7988 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.002026/0.9033, allocations: 0.7265 MB / 0.7995 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.9034, allocations: 8 kB / 0.7995 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.9034, allocations: 0 / 0.7995 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.9034, allocations: 7.984 kB / 0.7995 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/0.9041, allocations: 123.8 kB / 0.7996 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.9041, allocations: 0 / 0.7996 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.9059, allocations: 136.3 kB / 0.7997 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/0.9059, allocations: 23.98 kB / 0.7998 GB, free: 15.62 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.0003001/0.9062, allocations: 208.1 kB / 0.8 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004743/0.9067, allocations: 106.7 kB / 0.8001 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.9087, allocations: 0.8038 MB / 0.8008 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.657e-06/0.9087, allocations: 4 kB / 0.8008 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.9088, allocations: 0 / 0.8008 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.9088, allocations: 3.984 kB / 0.8009 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004065/0.9128, allocations: 1.946 MB / 0.8028 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.9129, allocations: 4 kB / 0.8028 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006616/0.9136, allocations: 108.1 kB / 0.8029 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.029e-05/0.9136, allocations: 15.94 kB / 0.8029 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.157e-05/0.9137, allocations: 12 kB / 0.8029 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.357e-05/0.9137, allocations: 7.984 kB / 0.8029 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.9137, allocations: 4 kB / 0.8029 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/0.9166, allocations: 1.233 MB / 0.8041 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008862/0.9175, allocations: 295.5 kB / 0.8044 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004077/0.9179, allocations: 12 kB / 0.8044 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.9193, allocations: 71.97 kB / 0.8045 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.9195, allocations: 47.88 kB / 0.8045 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.9195, allocations: 20 kB / 0.8045 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001858/0.9214, allocations: 0.9208 MB / 0.8054 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9214, allocations: 3.938 kB / 0.8054 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001895/0.9233, allocations: 403.4 kB / 0.8058 GB, free: 9.242 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.0006585/0.924, allocations: 227.8 kB / 0.806 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00219/0.9262, allocations: 0.9318 MB / 0.8069 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.9262, allocations: 0 / 0.8069 GB, free: 8.094 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006956/0.9269, allocations: 336.2 kB / 0.8073 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/0.9296, allocations: 461.5 kB / 0.8077 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.9332, allocations: 2.007 MB / 0.8097 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007994/0.934, allocations: 1.041 MB / 0.8107 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001449/0.9355, allocations: 293.2 kB / 0.811 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/0.936, allocations: 99.38 kB / 0.8111 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of SimCode: time 1.222e-06/0.936, allocations: 0 / 0.8111 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of Templates: time 0.0399/0.9759, allocations: 20.57 MB / 0.8311 GB, free: 15.5 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)