Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008081/0.0008081, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001054, allocations: 180.6 kB / 16.92 MB, free: 6.918 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.347/1.347, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9572/0.9572, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003209, allocations: 8 kB / 0.5082 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1627, allocations: 82.3 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5946/0.7573, allocations: 237.2 MB / 0.8202 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02351/0.7809, allocations: 15.9 MB / 0.8358 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0031/0.784, allocations: 71.5 kB / 0.8358 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003344/0.7874, allocations: 1.003 MB / 0.8368 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.7977, allocations: 3.61 MB / 0.8403 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004794/0.8025, allocations: 1.623 MB / 0.8419 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0092/0.8117, allocations: 7.402 MB / 0.8492 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003244/0.815, allocations: 1.384 MB / 0.8505 GB, free: 40 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006497/0.8215, allocations: 2.307 MB / 0.8528 GB, free: 13.72 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004593/0.8261, allocations: 1.726 MB / 0.8544 GB, free: 12 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007215/0.8269, allocations: 84 kB / 0.8545 GB, free: 11.92 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006964/0.8338, allocations: 3.129 MB / 0.8576 GB, free: 8.781 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001489/0.8354, allocations: 0.6852 MB / 0.8583 GB, free: 8.094 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002805/0.8382, allocations: 1.063 MB / 0.8593 GB, free: 7.02 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004678/0.8429, allocations: 2.572 MB / 0.8618 GB, free: 4.441 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.8429, allocations: 0 / 0.8618 GB, free: 4.441 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8429, allocations: 0 / 0.8618 GB, free: 4.441 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001196/0.8431, allocations: 4 kB / 0.8618 GB, free: 4.438 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.005135/0.8482, allocations: 2.111 MB / 0.8639 GB, free: 2.273 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.8483, allocations: 12.03 kB / 0.8639 GB, free: 2.262 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003334/0.8516, allocations: 0.5047 MB / 0.8644 GB, free: 1.754 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002706/0.8543, allocations: 1.265 MB / 0.8656 GB, free: 444 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.8545, allocations: 186.2 kB / 0.8658 GB, free: 244 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002851/0.8548, allocations: 151.9 kB / 0.8659 GB, free: 92 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3292/1.184, allocations: 1.741 MB / 0.8676 GB, free: 220 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/1.184, allocations: 6.781 kB / 0.8676 GB, free: 220 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/1.184, allocations: 62.44 kB / 0.8677 GB, free: 220 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.185e-05/1.184, allocations: 65.81 kB / 0.8678 GB, free: 220 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/1.187, allocations: 1.388 MB / 0.8691 GB, free: 220 MB / 0.67 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.008791/1.195, allocations: 8.187 MB / 0.8771 GB, free: 214.9 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/1.197, allocations: 0.9177 MB / 0.878 GB, free: 214.6 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007506/1.198, allocations: 0.5375 MB / 0.8785 GB, free: 214.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005453/1.198, allocations: 337.9 kB / 0.8789 GB, free: 214.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/1.198, allocations: 53.28 kB / 0.8789 GB, free: 214 MB / 0.67 GB Notification: Performance of pre-optimization done (n=96): time 3.426e-06/1.198, allocations: 0 / 0.8789 GB, free: 214 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.006429/1.205, allocations: 3.152 MB / 0.882 GB, free: 212.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/1.205, allocations: 61.94 kB / 0.882 GB, free: 212.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/1.206, allocations: 1.27 MB / 0.8833 GB, free: 212 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.764e-05/1.206, allocations: 50.67 kB / 0.8833 GB, free: 212 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/1.207, allocations: 0.8071 MB / 0.8841 GB, free: 211.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/1.207, allocations: 368.7 kB / 0.8845 GB, free: 211.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/1.207, allocations: 98.25 kB / 0.8846 GB, free: 211 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/1.207, allocations: 362.2 kB / 0.8849 GB, free: 210.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007282/1.208, allocations: 446.4 kB / 0.8853 GB, free: 210.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008855/1.209, allocations: 0.8382 MB / 0.8862 GB, free: 209.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/1.21, allocations: 1.267 MB / 0.8874 GB, free: 209.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/1.21, allocations: 4.719 kB / 0.8874 GB, free: 209.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002236/1.213, allocations: 1.433 MB / 0.8888 GB, free: 208.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001592/1.213, allocations: 355 kB / 0.8891 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/1.213, allocations: 10.72 kB / 0.8891 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/1.213, allocations: 15.88 kB / 0.8892 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/1.214, allocations: 279.8 kB / 0.8894 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/1.214, allocations: 24.23 kB / 0.8894 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/1.215, allocations: 164.7 kB / 0.8896 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.039e-05/1.216, allocations: 48.62 kB / 0.8896 GB, free: 208.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/1.216, allocations: 3.094 kB / 0.8897 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00182/1.217, allocations: 1.243 MB / 0.8909 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.217, allocations: 10.12 kB / 0.8909 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.217, allocations: 14.69 kB / 0.8909 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009738/1.218, allocations: 275 kB / 0.8912 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/1.218, allocations: 28.16 kB / 0.8912 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/1.22, allocations: 166.2 kB / 0.8913 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-05/1.22, allocations: 55.31 kB / 0.8914 GB, free: 207.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0008167/1.221, allocations: 0.5116 MB / 0.8919 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/1.221, allocations: 163.2 kB / 0.892 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/1.223, allocations: 1.168 MB / 0.8932 GB, free: 206.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/1.223, allocations: 11.25 kB / 0.8932 GB, free: 206.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/1.223, allocations: 0 / 0.8932 GB, free: 206.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001417/1.224, allocations: 1.092 MB / 0.8943 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004017/1.229, allocations: 2.811 MB / 0.897 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.229, allocations: 2.781 kB / 0.897 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/1.23, allocations: 254.1 kB / 0.8973 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/1.23, allocations: 5.797 kB / 0.8973 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.974e-05/1.23, allocations: 34.69 kB / 0.8973 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/1.23, allocations: 7.031 kB / 0.8973 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.23, allocations: 3.688 kB / 0.8973 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/1.232, allocations: 1.834 MB / 0.8991 GB, free: 204 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005714/1.233, allocations: 342.5 kB / 0.8994 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/1.233, allocations: 22.91 kB / 0.8994 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/1.234, allocations: 146.7 kB / 0.8996 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/1.234, allocations: 60.11 kB / 0.8996 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-05/1.234, allocations: 39.8 kB / 0.8997 GB, free: 203.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001067/1.236, allocations: 0.8419 MB / 0.9005 GB, free: 203.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.8e-07/1.236, allocations: 4 kB / 0.9005 GB, free: 203.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002085/1.238, allocations: 0.7664 MB / 0.9013 GB, free: 203.3 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 102 * 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.0005503/1.238, allocations: 270.2 kB / 0.9015 GB, free: 203.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003037/1.241, allocations: 1.762 MB / 0.9032 GB, free: 202.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.241, allocations: 1.094 kB / 0.9032 GB, free: 202.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008771/1.242, allocations: 0.5348 MB / 0.9038 GB, free: 202.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004947/1.247, allocations: 0.9634 MB / 0.9047 GB, free: 202.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005475/1.253, allocations: 4.433 MB / 0.909 GB, free: 199.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008498/1.253, allocations: 1.437 MB / 0.9104 GB, free: 198.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004543/1.254, allocations: 139.4 kB / 0.9106 GB, free: 198.8 MB / 0.67 GB Notification: Performance of SimCode: time 3.31e-07/1.254, allocations: 1 kB / 0.9106 GB, free: 198.8 MB / 0.67 GB Notification: Performance of Templates: time 0.0526/1.307, allocations: 26.6 MB / 0.9365 GB, free: 190.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)