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.001153/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00121/0.00121, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.495/1.495, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.036/1.036, allocations: 135.1 MB / 425.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001203, allocations: 63.95 kB / 0.5047 GB, free: 5.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1855, allocations: 80.93 MB / 0.5837 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.4061/0.5917, allocations: 26.11 MB / 0.6092 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01083/0.6026, allocations: 7.167 MB / 0.6162 GB, free: 35.53 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002368/0.605, allocations: 36.12 kB / 0.6162 GB, free: 35.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.6065, allocations: 320.3 kB / 0.6165 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004107/0.6106, allocations: 1.03 MB / 0.6175 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003094/0.6137, allocations: 0.8538 MB / 0.6184 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00391/0.6176, allocations: 2.801 MB / 0.6211 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.6187, allocations: 0.5293 MB / 0.6216 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.6201, allocations: 0.6068 MB / 0.6222 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008316/0.6209, allocations: 0.5539 MB / 0.6228 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.886e-05/0.621, allocations: 29.44 kB / 0.6228 GB, free: 33.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001874/0.6229, allocations: 0.7849 MB / 0.6236 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.6231, allocations: 145.1 kB / 0.6237 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.6235, allocations: 356.3 kB / 0.624 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.6251, allocations: 1.19 MB / 0.6252 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6251, allocations: 0 / 0.6252 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.6251, allocations: 3.938 kB / 0.6252 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.6251, allocations: 0 / 0.6252 GB, free: 32.83 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.001501/0.6266, allocations: 1.047 MB / 0.6262 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.6267, allocations: 8.656 kB / 0.6262 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003319/0.627, allocations: 88.47 kB / 0.6263 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.628, allocations: 0.7358 MB / 0.627 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.6281, allocations: 31.56 kB / 0.6271 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.438e-05/0.6282, allocations: 49.56 kB / 0.6271 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007883/0.629, allocations: 0.5035 MB / 0.6276 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.629, allocations: 0 / 0.6276 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.551e-05/0.629, allocations: 17.28 kB / 0.6276 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/0.6291, allocations: 17.28 kB / 0.6276 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000489/0.6296, allocations: 319.7 kB / 0.6279 GB, free: 31.17 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.00224/0.6318, allocations: 2.743 MB / 0.6306 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.6321, allocations: 199.8 kB / 0.6308 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.6323, allocations: 97.7 kB / 0.6309 GB, free: 28.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002448/0.6325, allocations: 342.1 kB / 0.6312 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.6325, allocations: 41.22 kB / 0.6313 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.6326, allocations: 0 / 0.6313 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.000541/0.6331, allocations: 306.5 kB / 0.6316 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.6331, allocations: 55.41 kB / 0.6316 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004765/0.6336, allocations: 0.5178 MB / 0.6321 GB, free: 27.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.6337, allocations: 28.42 kB / 0.6321 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.6339, allocations: 349 kB / 0.6325 GB, free: 27.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/0.6339, allocations: 81.94 kB / 0.6326 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.49e-05/0.634, allocations: 82.72 kB / 0.6326 GB, free: 27.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.6341, allocations: 360.3 kB / 0.633 GB, free: 27.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.6343, allocations: 95.22 kB / 0.6331 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.6345, allocations: 233.4 kB / 0.6333 GB, free: 26.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.6348, allocations: 342.8 kB / 0.6336 GB, free: 26.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.6349, allocations: 2.75 kB / 0.6336 GB, free: 26.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005801/0.6354, allocations: 390.1 kB / 0.634 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.6355, allocations: 5.938 kB / 0.634 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.6355, allocations: 5.656 kB / 0.634 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/0.6355, allocations: 5.875 kB / 0.634 GB, free: 26.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.6359, allocations: 81.58 kB / 0.6341 GB, free: 26.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.6359, allocations: 6 kB / 0.6341 GB, free: 26.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005508/0.6365, allocations: 65.95 kB / 0.6342 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.6365, allocations: 15.19 kB / 0.6342 GB, free: 26.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002721/0.6368, allocations: 247.2 kB / 0.6344 GB, free: 26.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001925/0.637, allocations: 241.3 kB / 0.6346 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003093/0.6373, allocations: 335.1 kB / 0.635 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.947e-06/0.6373, allocations: 5.25 kB / 0.635 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0004762/0.6378, allocations: 385.8 kB / 0.6353 GB, free: 25.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.6378, allocations: 5.781 kB / 0.6353 GB, free: 25.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6379, allocations: 6.531 kB / 0.6353 GB, free: 25.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/0.6379, allocations: 6.312 kB / 0.6354 GB, free: 25.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.6381, allocations: 78.25 kB / 0.6354 GB, free: 25.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.6381, allocations: 13.69 kB / 0.6354 GB, free: 25.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.6385, allocations: 48.5 kB / 0.6355 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.6385, allocations: 17.28 kB / 0.6355 GB, free: 25.62 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.0001373/0.6386, allocations: 205.9 kB / 0.6357 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-05/0.6387, allocations: 54.44 kB / 0.6358 GB, free: 25.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004525/0.6392, allocations: 281.8 kB / 0.636 GB, free: 25.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.6392, allocations: 7.125 kB / 0.636 GB, free: 25.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6392, allocations: 3.938 kB / 0.636 GB, free: 25.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002758/0.6395, allocations: 381.4 kB / 0.6364 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.6407, allocations: 1.05 MB / 0.6374 GB, free: 24.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.6407, allocations: 2.75 kB / 0.6374 GB, free: 24.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.6409, allocations: 52.83 kB / 0.6375 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.641, allocations: 5.281 kB / 0.6375 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.641, allocations: 9.312 kB / 0.6375 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.641, allocations: 2.969 kB / 0.6375 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.641, allocations: 6.594 kB / 0.6375 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.6415, allocations: 0.5184 MB / 0.638 GB, free: 23.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.6417, allocations: 177.5 kB / 0.6382 GB, free: 23.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.226e-05/0.6418, allocations: 8.594 kB / 0.6382 GB, free: 23.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.6422, allocations: 31.08 kB / 0.6382 GB, free: 23.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.6422, allocations: 27.11 kB / 0.6382 GB, free: 23.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.6422, allocations: 15.52 kB / 0.6382 GB, free: 23.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003977/0.6426, allocations: 401.7 kB / 0.6386 GB, free: 23.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6426, allocations: 0 / 0.6386 GB, free: 23.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00106/0.6437, allocations: 340.5 kB / 0.639 GB, free: 23.45 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.0006907/0.6444, allocations: 309.7 kB / 0.6393 GB, free: 23.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005656/0.645, allocations: 413 kB / 0.6396 GB, free: 23.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.645, allocations: 0 / 0.6396 GB, free: 23.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.6451, allocations: 109.3 kB / 0.6398 GB, free: 23.13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.6468, allocations: 374.4 kB / 0.6401 GB, free: 23.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.6483, allocations: 1.3 MB / 0.6414 GB, free: 22.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.6486, allocations: 0.8996 MB / 0.6423 GB, free: 21.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005603/0.6492, allocations: 163.5 kB / 0.6424 GB, free: 21.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.6493, allocations: 57.98 kB / 0.6425 GB, free: 21.39 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.6493, allocations: 3.938 kB / 0.6425 GB, free: 21.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.02572/0.6751, allocations: 12.24 MB / 0.6544 GB, free: 20.36 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)