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.009191/0.009191, allocations: 99.34 kB / 15.73 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.001862/0.001862, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9872/0.9872, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001189, allocations: 59.91 kB / 0.5856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5164/0.5176, allocations: 80.92 MB / 0.6646 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2423/0.7599, allocations: 189.7 MB / 0.8499 GB, free: 3.406 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.00803/0.768, allocations: 4.285 MB / 0.8541 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.7692, allocations: 27.81 kB / 0.8541 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.7707, allocations: 0.4967 MB / 0.8546 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.7751, allocations: 1.567 MB / 0.8561 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003661/0.7787, allocations: 1.347 MB / 0.8574 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004024/0.7828, allocations: 2.268 MB / 0.8596 GB, free: 9.402 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.7846, allocations: 1.073 MB / 0.8607 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.7868, allocations: 0.9576 MB / 0.8616 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.7882, allocations: 0.8716 MB / 0.8625 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002478/0.7885, allocations: 140 kB / 0.8626 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.7913, allocations: 1.243 MB / 0.8638 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004453/0.7918, allocations: 418.7 kB / 0.8642 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007196/0.7925, allocations: 0.6453 MB / 0.8648 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0028/0.7953, allocations: 1.989 MB / 0.8668 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/0.7953, allocations: 0 / 0.8668 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7953, allocations: 3.938 kB / 0.8668 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.7954, allocations: 0 / 0.8668 GB, free: 2.043 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.004276/0.7997, allocations: 1.762 MB / 0.8685 GB, free: 228 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.7997, allocations: 12.03 kB / 0.8685 GB, free: 216 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008418/0.8006, allocations: 191.1 kB / 0.8687 GB, free: 24 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4197/1.22, allocations: 1.08 MB / 0.8698 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.437e-05/1.22, allocations: 41.78 kB / 0.8698 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/1.22, allocations: 61.25 kB / 0.8699 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/1.222, allocations: 0.6117 MB / 0.8705 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/1.222, allocations: 1.688 kB / 0.8705 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.584e-05/1.222, allocations: 20.28 kB / 0.8705 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/1.222, allocations: 25.91 kB / 0.8705 GB, free: 194.5 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/1.223, allocations: 0.6201 MB / 0.8711 GB, free: 194.4 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.004828/1.228, allocations: 2.664 MB / 0.8737 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/1.23, allocations: 0.5419 MB / 0.8742 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000684/1.23, allocations: 348.8 kB / 0.8746 GB, free: 192.6 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003934/1.231, allocations: 287.9 kB / 0.8749 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/1.231, allocations: 39.06 kB / 0.8749 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008342/1.232, allocations: 143 kB / 0.875 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 3.236e-06/1.232, allocations: 0 / 0.875 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=43): time 0.002752/1.234, allocations: 1.026 MB / 0.876 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/1.234, allocations: 63.72 kB / 0.8761 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/1.236, allocations: 1.273 MB / 0.8773 GB, free: 191.1 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.35e-05/1.237, allocations: 38.98 kB / 0.8774 GB, free: 191 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/1.237, allocations: 439.3 kB / 0.8778 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/1.237, allocations: 153.6 kB / 0.8779 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/1.237, allocations: 119.8 kB / 0.878 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.547e-05/1.237, allocations: 326.2 kB / 0.8784 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006073/1.238, allocations: 270.6 kB / 0.8786 GB, free: 190 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009036/1.239, allocations: 481.8 kB / 0.8791 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/1.24, allocations: 0.5923 MB / 0.8797 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.24, allocations: 0 / 0.8797 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001757/1.242, allocations: 0.7465 MB / 0.8804 GB, free: 189 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/1.242, allocations: 4.75 kB / 0.8804 GB, free: 189 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/1.242, allocations: 3.094 kB / 0.8804 GB, free: 189 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/1.242, allocations: 5 kB / 0.8804 GB, free: 189 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/1.243, allocations: 117.7 kB / 0.8805 GB, free: 189 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/1.243, allocations: 7.922 kB / 0.8805 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/1.244, allocations: 94.02 kB / 0.8806 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/1.244, allocations: 21.38 kB / 0.8806 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008069/1.245, allocations: 470 kB / 0.8811 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007225/1.246, allocations: 485.9 kB / 0.8815 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001119/1.247, allocations: 0.5845 MB / 0.8821 GB, free: 188 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/1.247, allocations: 0 / 0.8821 GB, free: 188 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001537/1.248, allocations: 0.7412 MB / 0.8828 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/1.248, allocations: 5.625 kB / 0.8828 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/1.248, allocations: 1.125 kB / 0.8828 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.692e-06/1.248, allocations: 2.531 kB / 0.8828 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000575/1.249, allocations: 117.8 kB / 0.883 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/1.249, allocations: 5.562 kB / 0.883 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/1.25, allocations: 136.9 kB / 0.8831 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/1.25, allocations: 17.45 kB / 0.8831 GB, free: 187.5 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.000181/1.25, allocations: 206.5 kB / 0.8833 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/1.251, allocations: 107.6 kB / 0.8834 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/1.252, allocations: 0.8102 MB / 0.8842 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/1.252, allocations: 5.25 kB / 0.8842 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.252, allocations: 3.938 kB / 0.8842 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.252, allocations: 3.984 kB / 0.8842 GB, free: 186.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/1.255, allocations: 1.952 MB / 0.8861 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.255, allocations: 3.844 kB / 0.8861 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005416/1.256, allocations: 107.8 kB / 0.8862 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/1.256, allocations: 8.406 kB / 0.8862 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/1.256, allocations: 17.95 kB / 0.8862 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/1.256, allocations: 8.688 kB / 0.8863 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.256, allocations: 2.656 kB / 0.8863 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/1.258, allocations: 1.248 MB / 0.8875 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004256/1.258, allocations: 291.4 kB / 0.8878 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/1.258, allocations: 13.78 kB / 0.8878 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009034/1.259, allocations: 61.78 kB / 0.8878 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.259, allocations: 44.52 kB / 0.8879 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/1.26, allocations: 22.3 kB / 0.8879 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001322/1.261, allocations: 0.9162 MB / 0.8888 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.32e-07/1.261, allocations: 0 / 0.8888 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001262/1.262, allocations: 424.9 kB / 0.8892 GB, free: 183.7 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.0004996/1.263, allocations: 216.7 kB / 0.8894 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002/1.265, allocations: 0.9387 MB / 0.8903 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.265, allocations: 1.156 kB / 0.8903 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006384/1.265, allocations: 335.8 kB / 0.8906 GB, free: 183 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/1.267, allocations: 438.9 kB / 0.8911 GB, free: 182.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/1.27, allocations: 1.697 MB / 0.8927 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/1.27, allocations: 1.043 MB / 0.8937 GB, free: 180.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001098/1.272, allocations: 290.9 kB / 0.894 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00035/1.272, allocations: 98.38 kB / 0.8941 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of SimCode: time 9.72e-07/1.272, allocations: 0 / 0.8941 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of Templates: time 0.0326/1.304, allocations: 21.41 MB / 0.915 GB, free: 165.2 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)