Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 100.1 kB / 15.88 MB, free: 12 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.001352/0.001352, allocations: 199.8 kB / 16.79 MB, free: 6.828 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.406/1.406, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9658/0.9658, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 68.42 kB / 0.5053 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1832, allocations: 80.92 MB / 0.5843 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.3434/0.5266, allocations: 26.12 MB / 0.6098 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009311/0.536, allocations: 7.166 MB / 0.6168 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.5375, allocations: 34.03 kB / 0.6169 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.5386, allocations: 316.7 kB / 0.6172 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00292/0.5415, allocations: 1.033 MB / 0.6182 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.5442, allocations: 0.8593 MB / 0.619 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002963/0.5471, allocations: 2.795 MB / 0.6218 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007442/0.5479, allocations: 0.5323 MB / 0.6223 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.5489, allocations: 0.6091 MB / 0.6229 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006621/0.5496, allocations: 0.5574 MB / 0.6234 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.658e-05/0.5497, allocations: 30.34 kB / 0.6234 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.5514, allocations: 0.7761 MB / 0.6242 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.5516, allocations: 148.1 kB / 0.6243 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.552, allocations: 359.5 kB / 0.6247 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.553, allocations: 0.8965 MB / 0.6256 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.553, allocations: 0 / 0.6256 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5531, allocations: 3.562 kB / 0.6256 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.5531, allocations: 4 kB / 0.6256 GB, free: 33.12 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001403/0.5545, allocations: 1.058 MB / 0.6266 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.5545, allocations: 9.625 kB / 0.6266 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002998/0.5548, allocations: 83.41 kB / 0.6267 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009951/0.5558, allocations: 0.7336 MB / 0.6274 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.5559, allocations: 37.03 kB / 0.6274 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.423e-05/0.5559, allocations: 41.91 kB / 0.6275 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006762/0.5566, allocations: 0.5038 MB / 0.628 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.5567, allocations: 2.875 kB / 0.628 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.5567, allocations: 21.31 kB / 0.628 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.5567, allocations: 12.59 kB / 0.628 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004508/0.5572, allocations: 318.9 kB / 0.6283 GB, free: 31.45 MB / 0.4981 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.002183/0.5594, allocations: 2.744 MB / 0.631 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.5597, allocations: 193.8 kB / 0.6312 GB, free: 29.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.5598, allocations: 99.84 kB / 0.6313 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000249/0.5601, allocations: 346 kB / 0.6316 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.5601, allocations: 37.56 kB / 0.6316 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.294e-06/0.5601, allocations: 0 / 0.6316 GB, free: 28.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0005316/0.5607, allocations: 308.9 kB / 0.6319 GB, free: 28.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.5607, allocations: 57.94 kB / 0.632 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.5612, allocations: 0.5151 MB / 0.6325 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.5612, allocations: 29.7 kB / 0.6325 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.5614, allocations: 347.6 kB / 0.6328 GB, free: 27.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.5615, allocations: 83.09 kB / 0.6329 GB, free: 27.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.585e-05/0.5616, allocations: 81.58 kB / 0.633 GB, free: 27.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.868e-05/0.5616, allocations: 363.1 kB / 0.6334 GB, free: 27.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.5618, allocations: 91.3 kB / 0.6334 GB, free: 27.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.562, allocations: 236 kB / 0.6337 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.5623, allocations: 342.7 kB / 0.634 GB, free: 26.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5623, allocations: 0 / 0.634 GB, free: 26.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004856/0.5628, allocations: 394.2 kB / 0.6344 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.5628, allocations: 6.094 kB / 0.6344 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.5628, allocations: 2.938 kB / 0.6344 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5628, allocations: 8.688 kB / 0.6344 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.5631, allocations: 80.38 kB / 0.6345 GB, free: 26.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.5631, allocations: 12.47 kB / 0.6345 GB, free: 26.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.5635, allocations: 56.94 kB / 0.6345 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.5636, allocations: 20.09 kB / 0.6345 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002653/0.5638, allocations: 249.8 kB / 0.6348 GB, free: 26.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001785/0.564, allocations: 228.3 kB / 0.635 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003015/0.5643, allocations: 337.3 kB / 0.6353 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.914e-06/0.5644, allocations: 0 / 0.6353 GB, free: 26.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0004734/0.5648, allocations: 391.9 kB / 0.6357 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.5648, allocations: 14 kB / 0.6357 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.5649, allocations: 5.062 kB / 0.6357 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.062e-06/0.5649, allocations: 5.969 kB / 0.6357 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.5651, allocations: 75.95 kB / 0.6358 GB, free: 25.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.5651, allocations: 14.34 kB / 0.6358 GB, free: 25.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.5655, allocations: 48.92 kB / 0.6359 GB, free: 25.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.5655, allocations: 19.34 kB / 0.6359 GB, free: 25.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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.0001119/0.5656, allocations: 204.2 kB / 0.6361 GB, free: 25.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.3e-05/0.5657, allocations: 58.16 kB / 0.6361 GB, free: 25.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004398/0.5662, allocations: 272.3 kB / 0.6364 GB, free: 25.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.5662, allocations: 11.36 kB / 0.6364 GB, free: 25.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5662, allocations: 6.844 kB / 0.6364 GB, free: 25.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002871/0.5665, allocations: 380.5 kB / 0.6368 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.5678, allocations: 1.055 MB / 0.6378 GB, free: 24.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.5678, allocations: 2.75 kB / 0.6378 GB, free: 24.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.568, allocations: 50.61 kB / 0.6378 GB, free: 24.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.5681, allocations: 2.844 kB / 0.6378 GB, free: 24.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.5681, allocations: 12.66 kB / 0.6379 GB, free: 24.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.5681, allocations: 2.844 kB / 0.6379 GB, free: 24.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.5681, allocations: 6.562 kB / 0.6379 GB, free: 24.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/0.5687, allocations: 0.5211 MB / 0.6384 GB, free: 24.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.5689, allocations: 174.9 kB / 0.6385 GB, free: 24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.16e-05/0.569, allocations: 6.938 kB / 0.6385 GB, free: 24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.5693, allocations: 25.75 kB / 0.6386 GB, free: 24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.5694, allocations: 29.58 kB / 0.6386 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.5694, allocations: 17.42 kB / 0.6386 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003949/0.5698, allocations: 398.1 kB / 0.639 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5698, allocations: 0 / 0.639 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001079/0.5709, allocations: 345.8 kB / 0.6393 GB, free: 23.72 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0006492/0.5716, allocations: 301.1 kB / 0.6396 GB, free: 23.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006311/0.5722, allocations: 404.1 kB / 0.64 GB, free: 23.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5722, allocations: 4.188 kB / 0.64 GB, free: 23.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.5724, allocations: 113.1 kB / 0.6401 GB, free: 23.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.5741, allocations: 369.5 kB / 0.6405 GB, free: 23.33 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.5758, allocations: 1.33 MB / 0.6418 GB, free: 22.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.5761, allocations: 0.9024 MB / 0.6426 GB, free: 21.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.5762, allocations: 53.48 kB / 0.6427 GB, free: 21.68 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.5763, allocations: 4 kB / 0.6427 GB, free: 21.67 MB / 0.4981 GB Notification: Performance of Templates: time 0.02217/0.5984, allocations: 10.69 MB / 0.6531 GB, free: 20.39 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)