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.005716/0.005716, allocations: 101.5 kB / 15.88 MB, free: 5.871 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.001172/0.001173, allocations: 190.2 kB / 16.78 MB, free: 5.816 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.372/1.372, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9743/0.9743, allocations: 135.1 MB / 425.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.91 kB / 0.5053 GB, free: 5.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1837, allocations: 80.93 MB / 0.5843 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5611/0.7448, allocations: 240.5 MB / 0.8192 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02422/0.7691, allocations: 16.08 MB / 0.8349 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003721/0.7728, allocations: 79.5 kB / 0.8349 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003657/0.7766, allocations: 1.007 MB / 0.8359 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0104/0.787, allocations: 3.607 MB / 0.8394 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005125/0.7921, allocations: 1.613 MB / 0.841 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009818/0.802, allocations: 7.406 MB / 0.8483 GB, free: 14.88 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002847/0.8049, allocations: 1.426 MB / 0.8496 GB, free: 13.43 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006191/0.8111, allocations: 2.35 MB / 0.8519 GB, free: 11.07 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004883/0.816, allocations: 1.769 MB / 0.8537 GB, free: 9.297 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004743/0.8165, allocations: 100 kB / 0.8538 GB, free: 9.199 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007282/0.8238, allocations: 3.144 MB / 0.8568 GB, free: 6.047 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001554/0.8254, allocations: 0.7009 MB / 0.8575 GB, free: 5.344 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002889/0.8283, allocations: 1.069 MB / 0.8586 GB, free: 4.27 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005578/0.8339, allocations: 2.612 MB / 0.8611 GB, free: 1.652 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.834, allocations: 0 / 0.8611 GB, free: 1.652 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.729e-06/0.834, allocations: 0 / 0.8611 GB, free: 1.652 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001/0.8341, allocations: 3.938 kB / 0.8611 GB, free: 1.648 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.2999/1.134, allocations: 2.493 MB / 0.8636 GB, free: 224.1 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/1.134, allocations: 9.469 kB / 0.8636 GB, free: 224.1 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003371/1.137, allocations: 0.5 MB / 0.8641 GB, free: 224 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/1.14, allocations: 1.269 MB / 0.8653 GB, free: 223.6 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/1.14, allocations: 182.6 kB / 0.8655 GB, free: 223.5 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/1.14, allocations: 147.3 kB / 0.8656 GB, free: 223.5 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/1.142, allocations: 1.743 MB / 0.8673 GB, free: 222.8 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/1.142, allocations: 3.25 kB / 0.8673 GB, free: 222.8 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/1.143, allocations: 61.19 kB / 0.8674 GB, free: 222.7 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.624e-05/1.143, allocations: 59.95 kB / 0.8674 GB, free: 222.7 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/1.145, allocations: 1.372 MB / 0.8688 GB, free: 222.3 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.007776/1.152, allocations: 8.179 MB / 0.8768 GB, free: 216.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/1.154, allocations: 0.8973 MB / 0.8776 GB, free: 215.9 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007334/1.155, allocations: 0.5363 MB / 0.8782 GB, free: 215.7 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005321/1.155, allocations: 325.6 kB / 0.8785 GB, free: 215.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/1.155, allocations: 50.41 kB / 0.8785 GB, free: 215.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=96): time 2.825e-06/1.155, allocations: 0 / 0.8785 GB, free: 215.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.006391/1.162, allocations: 3.103 MB / 0.8815 GB, free: 213.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/1.162, allocations: 63.69 kB / 0.8816 GB, free: 213.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/1.163, allocations: 1.264 MB / 0.8828 GB, free: 213.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.304e-05/1.163, allocations: 47.55 kB / 0.8829 GB, free: 213.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003831/1.163, allocations: 0.8093 MB / 0.8837 GB, free: 212.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/1.164, allocations: 368 kB / 0.884 GB, free: 212.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/1.164, allocations: 225 kB / 0.8842 GB, free: 212.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.467e-05/1.164, allocations: 358.2 kB / 0.8846 GB, free: 212 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006977/1.165, allocations: 451.8 kB / 0.885 GB, free: 211.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000852/1.166, allocations: 0.827 MB / 0.8858 GB, free: 211.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/1.167, allocations: 1.246 MB / 0.887 GB, free: 210.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/1.167, allocations: 4.219 kB / 0.887 GB, free: 210.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002178/1.169, allocations: 1.398 MB / 0.8884 GB, free: 209.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.169, allocations: 13 kB / 0.8884 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/1.169, allocations: 8.969 kB / 0.8884 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/1.169, allocations: 18.31 kB / 0.8884 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/1.17, allocations: 278.9 kB / 0.8887 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.319e-05/1.171, allocations: 22.8 kB / 0.8887 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/1.172, allocations: 159.7 kB / 0.8889 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.161e-05/1.172, allocations: 49.59 kB / 0.8889 GB, free: 209.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001175/1.173, allocations: 0.7675 MB / 0.8897 GB, free: 209.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008209/1.174, allocations: 0.8229 MB / 0.8905 GB, free: 208.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001512/1.176, allocations: 1.235 MB / 0.8917 GB, free: 208.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.442e-06/1.176, allocations: 2.625 kB / 0.8917 GB, free: 208.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002091/1.178, allocations: 1.391 MB / 0.8931 GB, free: 207.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.178, allocations: 12.06 kB / 0.8931 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.178, allocations: 9 kB / 0.8931 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/1.178, allocations: 15.97 kB / 0.8931 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/1.179, allocations: 277.9 kB / 0.8934 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/1.179, allocations: 22.38 kB / 0.8934 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/1.181, allocations: 161.8 kB / 0.8935 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.131e-05/1.181, allocations: 50.91 kB / 0.8936 GB, free: 207.5 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.0003372/1.181, allocations: 264.1 kB / 0.8938 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/1.181, allocations: 167.3 kB / 0.894 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/1.183, allocations: 1.157 MB / 0.8951 GB, free: 206.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/1.183, allocations: 10.19 kB / 0.8951 GB, free: 206.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/1.183, allocations: 0 / 0.8951 GB, free: 206.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001588/1.185, allocations: 1.072 MB / 0.8962 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/1.19, allocations: 2.78 MB / 0.8989 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/1.19, allocations: 8.688 kB / 0.8989 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/1.192, allocations: 247 kB / 0.8991 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.916e-05/1.192, allocations: 8.594 kB / 0.8991 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-05/1.192, allocations: 30.28 kB / 0.8992 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/1.192, allocations: 4.875 kB / 0.8992 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.192, allocations: 2.812 kB / 0.8992 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/1.195, allocations: 1.802 MB / 0.9009 GB, free: 204 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008384/1.196, allocations: 338.3 kB / 0.9013 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003465/1.196, allocations: 27.88 kB / 0.9013 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/1.198, allocations: 145.8 kB / 0.9014 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/1.198, allocations: 66.97 kB / 0.9015 GB, free: 203.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.726e-05/1.198, allocations: 40.05 kB / 0.9015 GB, free: 203.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00146/1.199, allocations: 0.8448 MB / 0.9024 GB, free: 203.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.31e-07/1.199, allocations: 1.125 kB / 0.9024 GB, free: 203.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002777/1.202, allocations: 0.7657 MB / 0.9031 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.0006236/1.203, allocations: 262.9 kB / 0.9034 GB, free: 203.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003172/1.206, allocations: 1.73 MB / 0.905 GB, free: 202.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.206, allocations: 4.969 kB / 0.905 GB, free: 202.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009154/1.207, allocations: 0.5171 MB / 0.9056 GB, free: 202.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004797/1.212, allocations: 0.9713 MB / 0.9065 GB, free: 202.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006252/1.218, allocations: 4.229 MB / 0.9106 GB, free: 199.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/1.219, allocations: 1.444 MB / 0.912 GB, free: 198.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005842/1.22, allocations: 133.6 kB / 0.9122 GB, free: 198.9 MB / 0.67 GB Notification: Performance of SimCode: time 5.61e-07/1.22, allocations: 0 / 0.9122 GB, free: 198.9 MB / 0.67 GB Notification: Performance of Templates: time 0.04991/1.27, allocations: 26.89 MB / 0.9384 GB, free: 189.1 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)