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.008406/0.008406, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001835/0.001835, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9392/0.9392, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.89 kB / 0.5856 GB, free: 3.344 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4628, allocations: 80.91 MB / 0.6646 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2371/0.7, allocations: 189.7 MB / 0.8499 GB, free: 3.246 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.009247/0.7093, allocations: 4.285 MB / 0.8541 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.7111, allocations: 27.81 kB / 0.8541 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002109/0.7132, allocations: 0.5162 MB / 0.8546 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005594/0.7189, allocations: 1.626 MB / 0.8562 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004856/0.7238, allocations: 1.347 MB / 0.8575 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004233/0.728, allocations: 2.28 MB / 0.8597 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002451/0.7305, allocations: 1.081 MB / 0.8608 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002718/0.7332, allocations: 0.9732 MB / 0.8617 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.7352, allocations: 0.8678 MB / 0.8626 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007276/0.7359, allocations: 140 kB / 0.8627 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003363/0.7393, allocations: 1.251 MB / 0.8639 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008732/0.7402, allocations: 426.7 kB / 0.8643 GB, free: 4.406 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001768/0.742, allocations: 0.6414 MB / 0.865 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004037/0.746, allocations: 1.988 MB / 0.8669 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.7461, allocations: 3.938 kB / 0.8669 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7461, allocations: 0 / 0.8669 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.257e-05/0.7461, allocations: 4 kB / 0.8669 GB, free: 1.762 MB / 0.6856 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.4991/1.245, allocations: 1.713 MB / 0.8686 GB, free: 195 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 8.328e-05/1.245, allocations: 10.25 kB / 0.8686 GB, free: 195 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/1.247, allocations: 184.3 kB / 0.8688 GB, free: 195 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002858/1.25, allocations: 1.074 MB / 0.8698 GB, free: 194.5 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-05/1.25, allocations: 41.95 kB / 0.8699 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/1.25, allocations: 57.84 kB / 0.8699 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/1.252, allocations: 0.6116 MB / 0.8705 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/1.252, allocations: 2.281 kB / 0.8705 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-05/1.252, allocations: 19.97 kB / 0.8705 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-05/1.252, allocations: 18.16 kB / 0.8705 GB, free: 194.2 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/1.254, allocations: 0.6231 MB / 0.8712 GB, free: 194 MB / 0.6856 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.004579/1.258, allocations: 2.671 MB / 0.8738 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/1.259, allocations: 0.5383 MB / 0.8743 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006487/1.26, allocations: 346.9 kB / 0.8746 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003815/1.26, allocations: 292.5 kB / 0.8749 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/1.26, allocations: 36.47 kB / 0.8749 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000731/1.261, allocations: 141.1 kB / 0.8751 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 2.555e-06/1.261, allocations: 0 / 0.8751 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=43): time 0.00253/1.264, allocations: 1.017 MB / 0.8761 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/1.264, allocations: 60.06 kB / 0.8761 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/1.266, allocations: 1.274 MB / 0.8774 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.659e-05/1.266, allocations: 41.3 kB / 0.8774 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/1.267, allocations: 433.4 kB / 0.8778 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/1.267, allocations: 143.2 kB / 0.878 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/1.267, allocations: 116.6 kB / 0.8781 GB, free: 190 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.586e-05/1.267, allocations: 326.3 kB / 0.8784 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006976/1.268, allocations: 272.4 kB / 0.8786 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/1.269, allocations: 482.9 kB / 0.8791 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/1.27, allocations: 0.5942 MB / 0.8797 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.271, allocations: 0 / 0.8797 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001716/1.272, allocations: 0.7373 MB / 0.8804 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.272, allocations: 5.125 kB / 0.8804 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1.272, allocations: 9.5 kB / 0.8804 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/1.272, allocations: 1.406 kB / 0.8804 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006399/1.273, allocations: 125.8 kB / 0.8805 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/1.273, allocations: 2.281 kB / 0.8805 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/1.274, allocations: 89.62 kB / 0.8806 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/1.274, allocations: 26.78 kB / 0.8806 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008242/1.275, allocations: 470.2 kB / 0.8811 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007204/1.276, allocations: 485.5 kB / 0.8816 GB, free: 187.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001147/1.277, allocations: 0.5848 MB / 0.8821 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-06/1.277, allocations: 0 / 0.8821 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001556/1.278, allocations: 0.733 MB / 0.8828 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/1.279, allocations: 4.906 kB / 0.8828 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/1.279, allocations: 2.312 kB / 0.8829 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/1.279, allocations: 6.438 kB / 0.8829 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/1.279, allocations: 117.6 kB / 0.883 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/1.279, allocations: 2.438 kB / 0.883 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/1.28, allocations: 126 kB / 0.8831 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/1.28, allocations: 27.89 kB / 0.8831 GB, free: 187 MB / 0.6856 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.0001898/1.281, allocations: 210.5 kB / 0.8833 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/1.281, allocations: 107.4 kB / 0.8834 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/1.282, allocations: 0.8029 MB / 0.8842 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.282, allocations: 6.344 kB / 0.8842 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.283, allocations: 0 / 0.8842 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.283, allocations: 6.078 kB / 0.8842 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/1.286, allocations: 1.955 MB / 0.8861 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.286, allocations: 2.156 kB / 0.8861 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/1.286, allocations: 103 kB / 0.8862 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/1.286, allocations: 8.125 kB / 0.8862 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/1.286, allocations: 19.64 kB / 0.8863 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/1.286, allocations: 8.219 kB / 0.8863 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.286, allocations: 2.156 kB / 0.8863 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/1.288, allocations: 1.244 MB / 0.8875 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/1.289, allocations: 283.9 kB / 0.8878 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/1.289, allocations: 17.83 kB / 0.8878 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008893/1.29, allocations: 60.45 kB / 0.8878 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/1.29, allocations: 46.17 kB / 0.8879 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-05/1.29, allocations: 18.61 kB / 0.8879 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001392/1.291, allocations: 0.9279 MB / 0.8888 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/1.291, allocations: 0 / 0.8888 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001309/1.293, allocations: 406 kB / 0.8892 GB, free: 183.3 MB / 0.6856 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.0005063/1.293, allocations: 228.6 kB / 0.8894 GB, free: 183.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001971/1.295, allocations: 0.9376 MB / 0.8903 GB, free: 182.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.295, allocations: 5.031 kB / 0.8903 GB, free: 182.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006138/1.296, allocations: 335.4 kB / 0.8906 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/1.297, allocations: 427.2 kB / 0.891 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/1.3, allocations: 1.675 MB / 0.8927 GB, free: 181.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/1.301, allocations: 1.043 MB / 0.8937 GB, free: 180.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009884/1.302, allocations: 290.4 kB / 0.894 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/1.302, allocations: 97.78 kB / 0.8941 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of SimCode: time 6.01e-07/1.302, allocations: 5.25 kB / 0.8941 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of Templates: time 0.03465/1.337, allocations: 21.4 MB / 0.915 GB, free: 164.6 MB / 0.6856 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)