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.001199/0.001199, allocations: 112.1 kB / 16.38 MB, free: 6.008 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.001146/0.001146, allocations: 189.8 kB / 17.32 MB, free: 5.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.244/1.244, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7377/0.7377, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.31 kB / 0.5862 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1567, allocations: 80.91 MB / 0.6652 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.577/0.7338, allocations: 189.7 MB / 0.8505 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00737/0.7412, allocations: 4.278 MB / 0.8547 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.7426, allocations: 28.62 kB / 0.8547 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.7441, allocations: 0.4978 MB / 0.8552 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003874/0.748, allocations: 1.568 MB / 0.8567 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.7513, allocations: 1.346 MB / 0.858 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002843/0.7542, allocations: 2.272 MB / 0.8602 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.7556, allocations: 1.073 MB / 0.8613 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.7573, allocations: 0.9529 MB / 0.8622 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.7583, allocations: 0.8746 MB / 0.8631 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.7585, allocations: 141.2 kB / 0.8632 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.7608, allocations: 1.239 MB / 0.8644 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004344/0.7613, allocations: 422.7 kB / 0.8648 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006772/0.762, allocations: 0.6453 MB / 0.8655 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002525/0.7645, allocations: 1.986 MB / 0.8674 GB, free: 176 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7645, allocations: 4 kB / 0.8674 GB, free: 172 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7645, allocations: 4 kB / 0.8674 GB, free: 168 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.7645, allocations: 0 / 0.8674 GB, free: 168 kB / 0.6231 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.004029/0.7686, allocations: 1.724 MB / 0.8691 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.7686, allocations: 9.109 kB / 0.8691 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008213/0.7695, allocations: 182.4 kB / 0.8693 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/0.7712, allocations: 1.069 MB / 0.8703 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/0.7712, allocations: 44.94 kB / 0.8704 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.7714, allocations: 56 kB / 0.8704 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.7725, allocations: 0.6193 MB / 0.871 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.7726, allocations: 4 kB / 0.871 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.609e-05/0.7726, allocations: 16 kB / 0.871 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.7727, allocations: 17 kB / 0.871 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.7739, allocations: 0.6285 MB / 0.8717 GB, free: 11.68 MB / 0.6387 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.003832/0.7778, allocations: 2.651 MB / 0.8742 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.7789, allocations: 0.5465 MB / 0.8748 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006053/0.7795, allocations: 352.6 kB / 0.8751 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003618/0.7799, allocations: 279.3 kB / 0.8754 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.7799, allocations: 34.56 kB / 0.8754 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00059/0.7805, allocations: 147.4 kB / 0.8756 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 2.715e-06/0.7805, allocations: 0 / 0.8756 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.002257/0.7828, allocations: 1.024 MB / 0.8766 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.7828, allocations: 63.33 kB / 0.8766 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.7847, allocations: 1.271 MB / 0.8779 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-05/0.7848, allocations: 37.7 kB / 0.8779 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/0.7851, allocations: 433.7 kB / 0.8783 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.7853, allocations: 145.8 kB / 0.8784 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.7855, allocations: 129.9 kB / 0.8786 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7856, allocations: 318 kB / 0.8789 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/0.7862, allocations: 270.2 kB / 0.8791 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007648/0.7869, allocations: 490 kB / 0.8796 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.7882, allocations: 0.5908 MB / 0.8802 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.7882, allocations: 5.062 kB / 0.8802 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001602/0.7898, allocations: 0.7339 MB / 0.8809 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.7898, allocations: 4 kB / 0.8809 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.7898, allocations: 0 / 0.8809 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.7899, allocations: 8 kB / 0.8809 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006537/0.7905, allocations: 123.8 kB / 0.881 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.7905, allocations: 0 / 0.881 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.7917, allocations: 101.1 kB / 0.8811 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.719e-05/0.7918, allocations: 19.97 kB / 0.8811 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008441/0.7927, allocations: 467.9 kB / 0.8816 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007588/0.7934, allocations: 493.9 kB / 0.8821 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001132/0.7946, allocations: 0.5768 MB / 0.8826 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.7946, allocations: 0 / 0.8826 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001554/0.7961, allocations: 0.7343 MB / 0.8833 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.7962, allocations: 8 kB / 0.8833 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.7962, allocations: 1.562 kB / 0.8834 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.518e-06/0.7962, allocations: 4 kB / 0.8834 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/0.7968, allocations: 123.8 kB / 0.8835 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.7968, allocations: 4 kB / 0.8835 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.7982, allocations: 124.3 kB / 0.8836 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.7982, allocations: 23.97 kB / 0.8836 GB, free: 14.96 MB / 0.6544 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.0002163/0.7985, allocations: 212.1 kB / 0.8838 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.7987, allocations: 110.6 kB / 0.8839 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/0.8004, allocations: 0.8083 MB / 0.8847 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.8004, allocations: 8 kB / 0.8847 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.8004, allocations: 0 / 0.8847 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.8004, allocations: 0 / 0.8847 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003076/0.8035, allocations: 1.954 MB / 0.8866 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.8035, allocations: 8.031 kB / 0.8866 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005588/0.8041, allocations: 107.9 kB / 0.8867 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.8041, allocations: 4 kB / 0.8867 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.8042, allocations: 15.94 kB / 0.8868 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.8042, allocations: 7.938 kB / 0.8868 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.8042, allocations: 4 kB / 0.8868 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.8063, allocations: 1.236 MB / 0.888 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004623/0.8068, allocations: 291.6 kB / 0.8883 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.8069, allocations: 15.98 kB / 0.8883 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009468/0.8079, allocations: 63.92 kB / 0.8883 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.808, allocations: 43.94 kB / 0.8884 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/0.808, allocations: 20 kB / 0.8884 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001414/0.8095, allocations: 0.9208 MB / 0.8893 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8095, allocations: 3.938 kB / 0.8893 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001129/0.8106, allocations: 403.4 kB / 0.8897 GB, free: 8.586 MB / 0.6544 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.0004812/0.8111, allocations: 223.6 kB / 0.8899 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001928/0.813, allocations: 0.9476 MB / 0.8908 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.8131, allocations: 0 / 0.8908 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006088/0.8137, allocations: 336.2 kB / 0.8911 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.8155, allocations: 436.7 kB / 0.8916 GB, free: 6.676 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.818, allocations: 1.716 MB / 0.8932 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/0.8187, allocations: 1.045 MB / 0.8943 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/0.819, allocations: 95.38 kB / 0.8943 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of SimCode: time 7.91e-07/0.819, allocations: 0 / 0.8943 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of Templates: time 0.02552/0.8446, allocations: 16.24 MB / 0.9102 GB, free: 3.594 MB / 0.67 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)